[wix-users] WixStdBA Update scenario prompts for source
Stephen Downard
stephen.downard at medfusion.com
Wed Jun 15 13:58:15 PDT 2016
After initializing WixStdBa to execute an update the updated executable gets launched and UAC elevation is presented. Once the UAC prompt is processed the install prompts for source. The log contains the following errors.
Error 0x80070002: Failed to find payload: InstallFirst in working path: C:\Users\inst_tst\AppData\Local\Temp\{6BED45D6-2A76-4A5E-99CD-66C8D25A652B}\InstallFirst and unverified path: C:\ProgramData\Package Cache\.unverified\InstallFirst
[05E8:0AE4][2016-06-15T16:49:24]e000: Error 0x80070002: Failed to cache payload: InstallFirst
[0A34:0240][2016-06-15T16:49:24]e314: Failed to cache payload: InstallFirst from working path: C:\Users\inst_tst\AppData\Local\Temp\{6BED45D6-2A76-4A5E-99CD-66C8D25A652B}\ InstallFirst, error: 0x80070002.
[0A34:0240][2016-06-15T16:49:24]e349: Application requested retry of payload: InstallFirst, encountered error: 0x80070002. Retrying...
[0A34:0240][2016-06-15T16:49:24]w341: Prompt for source of container: WixAttachedContainer, path: C:\Users\inst_tst\AppData\Local\Package Cache\{c58ebcf4-8560-4d39-b9c8-f8bc12775f3f}\MyInstall.exe
The scenario is as follows.
1. Run initial install
2. Execute "update" shortcut: which relaunches the cached Bundle install with a command line parameter
3. Detect command line parameter and if "update" download install
4. The updated install is executed
5. Prompt for source occurs
What do I need to do to utilize WixStdBa to correctly support Updates?
More information about the wix-users
mailing list