|
Hello,
I have two question about managed bootstrapper in Wix3.6RC. Firstly, I cant find a way to set up MsiProperty "on the fly". I need setup REINSTALL=ALL only if i reinstall the application. If I set it in WXS (static) then normal installation failed... i guess it is only for reinstall mode :) Or how add parameter for log of msi (for comparing with classic MSI installation log). Second question is Minor upgrade or downgrade (only Product version is changed). What enum for Plan i have to use for this kind of update? LaunchAction.Repair or LaunchAction.Modify? I tried LaunchAction.Repair but reinstall was slower than classic msi built-in solution. In my opinion the operation was made several times (i guess according to MSIMessages) + at the end of repairing is new bootstrapper instance launched. This instance do some kind of uninstall operation, which remove install packages and link of updated version of application (in add/remove programs) is invalid. (Connected problem : Can I set the path for installation packages in add/remove programs (in registry?) before/during installation? Or why is uninstall at the end of reinstall?) Launch.Install make a new version and i have two entries in Add/Remove programs... Maybe i am naive but does exist any documentation for this?:) We used EmbeddedUI in WiX in the past and we launched reinstall process with REINSTALL=ALL, REINSTALLMODE=vemusc and it was without problems. We would like to have the same process with MBA. Thanks for some advice. Tom. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/wix-users |
|
On 26-Jul-12 08:55, Ing. Tomáš Kubík, Tempo IS wrote:
> Firstly, I cant find a way to set up MsiProperty "on the fly". I need setup REINSTALL=ALL only if i reinstall the application. Burn does that for you during a repair. > Second question is Minor upgrade or downgrade (only Product version is changed). What enum for Plan i have to use for this kind of update? LaunchAction.Repair or LaunchAction.Modify? Use Install; Burn automatically handles minor upgrades that way. You can try a repair to downgrade a package, though I don't know how well it will work. > Launch.Install make a new version and i have two entries in Add/Remove programs... Update the bundle version number. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/wix-users |
|
In reply to this post by Tomas Kubik
Hi,
Thank you. I try minor upgrade with your recommends and it looks OK. Super :) But downgrade with "install" mode is doing nothing. If i try "repair" mode, the installation failed with this log: [226C:1B80][2012-07-27T12:29:23]: Burn v3.6.2928.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\Fidel\Desktop\TempoUI-s.exe, cmdline: '-burn.unelevated BurnPipe.{38874DEB-7466-4D54-B9A3-C9243628A88C} {24A7F99E-185A-4094-AA36-18F93AE91D0B} 9152' [226C:1B80][2012-07-27T12:29:23]: Setting string variable 'WixBundleLog' to value 'C:\Users\Fidel\AppData\Local\Temp\Tempo_IS_20120727122923.log' [226C:1B80][2012-07-27T12:29:23]: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Fidel\Desktop\TempoUI-s.exe' [226C:1B80][2012-07-27T12:29:23]: Condition '((VersionNT >= v5.1) AND (ServicePackLevel >= 3)) OR ((VersionNT >= v5.2) AND (ServicePackLevel >= 2)) OR (VersionNT >= v6.0)' evaluates to true. [226C:1B80][2012-07-27T12:29:23]: Setting string variable 'WixBundleName' to value 'Tempo IS' [226C:1B80][2012-07-27T12:29:23]: Loading managed bootstrapper application. [226C:1B80][2012-07-27T12:29:23]: Creating BA thread to run asynchronously. [226C:1B80][2012-07-27T12:29:25]: Detect 2 packages [226C:1B80][2012-07-27T12:29:25]: Setting string variable 'Netfx4x64FullVersion' to value '4.5.50501' [226C:1B80][2012-07-27T12:29:25]: Setting string variable 'Netfx4FullVersion' to value '4.5.50501' [226C:1B80][2012-07-27T12:29:25]: Detected related bundle: {54ff2baf-4aa4-4bdd-b3ec-7e6952662d84}, type: Upgrade, scope: PerMachine, version: 1.0.2.0, operation: Downgrade [226C:1B80][2012-07-27T12:29:25]: Condition 'Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion)' evaluates to true. [226C:1B80][2012-07-27T12:29:25]: Detected related package: {FC5DAD94-199A-4492-A2EA-179FBFD749A5}, scope: PerMachine, version: 4.7.0.5309, language: 1029 operation: Downgrade [226C:1B80][2012-07-27T12:29:25]: Detected package: Netfx4Full, state: Present, cached: None [226C:1B80][2012-07-27T12:29:25]: Detected package: VykazPraceSetup, state: Superseded, cached: Complete [226C:1B80][2012-07-27T12:29:25]: Detect complete, result: 0x0 [226C:1B80][2012-07-27T12:29:29]: Plan 2 packages, action: Repair [226C:1B80][2012-07-27T12:29:29]: Skipping dependency registration on package with no dependency providers: Netfx4Full [226C:1B80][2012-07-27T12:29:29]: Setting string variable 'WixBundleLog_VykazPraceSetup' to value 'C:\Users\Fidel\AppData\Local\Temp\Tempo_IS_20120727122923_0_VykazPraceSetup.log' [226C:1B80][2012-07-27T12:29:29]: Planned package: Netfx4Full, state: Present, default requested: Repair, ba requested: Repair, execute: None, rollback: None, cache: No, uncache: No, dependency: None [226C:1B80][2012-07-27T12:29:29]: Planned package: VykazPraceSetup, state: Superseded, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register [226C:1B80][2012-07-27T12:29:29]: Planned related bundle: {54ff2baf-4aa4-4bdd-b3ec-7e6952662d84}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None [226C:1B80][2012-07-27T12:29:29]: Plan complete, result: 0x0 [226C:1B80][2012-07-27T12:29:29]: Apply begin [23C0:1284][2012-07-27T12:29:29]: Creating a system restore point. [23C0:1284][2012-07-27T12:29:35]: Created a system restore point. [23C0:1284][2012-07-27T12:29:35]: Registering bundle dependency provider: {670d3f3c-02f8-4d95-83be-60b1b8e7fdc5}, version: 1.0.1.0 [23C0:1B38][2012-07-27T12:29:36]: Verified existing payload: VykazPraceSetup at path: C:\ProgramData\Package Cache\{FC5DAD94-199A-4492-A2EA-179FBFD749A5}v4.7.0.5305\systemartIS.msi. [23C0:1284][2012-07-27T12:29:36]: Applying execute package: VykazPraceSetup, action: Repair, path: C:\ProgramData\Package Cache\{FC5DAD94-199A-4492-A2EA-179FBFD749A5}v4.7.0.5305\systemartIS.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" INSTALLDIR="" REINSTALLMODE="vemusc"' [23C0:1284][2012-07-27T12:29:36]: Error 0x80070666: Failed to run maintanance mode for MSI package. [23C0:1284][2012-07-27T12:29:36]: Error 0x80070666: Failed to execute MSI package. [226C:1B80][2012-07-27T12:29:36]: Error 0x80070666: Failed to configure per-machine MSI package. [226C:1B80][2012-07-27T12:29:36]: Applied execute package: VykazPraceSetup, result: 0x80070666, restart: None [226C:1B80][2012-07-27T12:29:36]: Error 0x80070666: Failed to execute MSI package. [23C0:1284][2012-07-27T12:29:36]: Removed bundle dependency provider: {670d3f3c-02f8-4d95-83be-60b1b8e7fdc5} [23C0:1284][2012-07-27T12:29:36]: Removing cached bundle: {670d3f3c-02f8-4d95-83be-60b1b8e7fdc5}, from path: C:\ProgramData\Package Cache\{670d3f3c-02f8-4d95-83be-60b1b8e7fdc5}\ [23C0:1284][2012-07-27T12:29:36]: Unable to remove cached bundle: {670d3f3c-02f8-4d95-83be-60b1b8e7fdc5}, from path: C:\ProgramData\Package Cache\{670d3f3c-02f8-4d95-83be-60b1b8e7fdc5}\, reason: 0x80070003. Continuing... [226C:1B80][2012-07-27T12:29:36]: Apply complete, result: 0x80070666, restart: None, ba requested restart: No What steps are usually recommended in this case? Old version of installer is not able reinstall newer version (repair as well as uninstall). I have to use only newer version for uninstalling.... Any solution for this? Thanks for your time :) Tom -----Original Message----- From: Bob Arnson [mailto:[hidden email]] Sent: Friday, July 27, 2012 2:03 AM To: [hidden email] Subject: Re: [WiX-users] MsiProperty "on the fly" and Minor upgrade/downgrade. On 26-Jul-12 08:55, Ing. Tomáš Kubík, Tempo IS wrote: > Firstly, I cant find a way to set up MsiProperty "on the fly". I need setup REINSTALL=ALL only if i reinstall the application. Burn does that for you during a repair. > Second question is Minor upgrade or downgrade (only Product version is changed). What enum for Plan i have to use for this kind of update? LaunchAction.Repair or LaunchAction.Modify? Use Install; Burn automatically handles minor upgrades that way. You can try a repair to downgrade a package, though I don't know how well it will work. > Launch.Install make a new version and i have two entries in Add/Remove programs... Update the bundle version number. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/wix-users |
|
On 27-Jul-12 06:51, Ing. Tomáš Kubík, Tempo IS wrote:
> But downgrade with "install" mode is doing nothing. If i try "repair" mode, the installation failed with this log: The method Burn uses to repair apparently won't downgrade. I don't see a workaround so feel free to file a feature request. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/wix-users |
| Powered by Nabble | Edit this page |
