So is there any way for me to trigger a roll back in my bootstrap program? I figured that I have two choice to solve my problem:
1. In my bootstrap program, I save out the transform being used to registry before executing msiexec (for first time install). Then after a reboot and during a second install attempt, if my bootstrap detected the first install attempt's culture transform is different from the second install attempt, I'll perform a roll back first and then do a proper new install with a new culture transform. If the second install attempt uses the same culture transform as the first install attempt, I'll just let the original resume install design play out. But I have no idea now to perform a roll back in my bootstrap. I've tried using "msiexec /x test.msi", but it doesn't work because the previous install was incomplete and I don't see any other msi options to remove incomplete install. 2. My second possible approach to solve this is again save out the Transform info to registry. But this time in my bootstrap program, if I detected a previous incomplete install, I won't let user select the culture at all and force use the previous install attempt's culture and let MSI continue with the previous install. Does anyone have a recommendation on what is a proper approach to fix this Issue? John Leung -----Original Message----- Date: Wed, 2 Jun 2010 22:02:15 -0700 From: "Blair" <os...@live.com> Subject: Re: [WiX-users] Issue with applying language transform after a hard reset To: "'General discussion for Windows Installer XML toolset.'" <wix-users@lists.sourceforge.net> Message-ID: <blu111-ds17a250111e87cfdb6d753cd...@phx.gbl> Content-Type: text/plain; charset="us-ascii" When an installation is suspended, properties that have already been setup are retained, so what you see is by design (text straight from the DB is transformed, text from properties is not). You need to either complete the previous installation or roll it back. -----Original Message----- From: Leung, John C.H. [mailto:johnle...@ea.com] Sent: Wednesday, June 02, 2010 6:27 PM To: Leung, John C.H.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Issue with applying language transform after a hard reset When I was looking at my install log file, I see the followings: MSI (c) (80:CC) [17:12:52:556]: Checking in-progress install: install for same configuration. MSI (c) (80:CC) [17:12:52:556]: Suspended install detected. Resuming. ... MSI (c) (80:CC) [17:12:52:556]: PROPERTY CHANGE: Modifying TRANSFORMS property. Its current value is ':en-us.mst'. Its new value: ':fr-fr.mst'. So looks like MSI recognized a failed attempt of previous install and try to resume previous install but not able to properly apply the original fr-fr.mst transform and ended up with a mix of English and French text in the dialog box. Is there anyway to tell MSI to cleanup previous failed suspended install and do a clean install? John Leung -----Original Message----- From: Leung, John C.H. Sent: June-02-10 5:43 PM To: 'wix-users@lists.sourceforge.net' Subject: Issue with applying language transform after a hard reset Hi, I have created an installer that support multiple languages using transform mst for each language. So during install, we have the command line: msiexe.exe /i test.msi TRANSFORMS=:fr-fr.mst The installer basically works with the normal workflow. However, I've just been informed by our QA tester that during the install, if they did a hard reset for their PC, and then after reboot, they run the install with a new language, say: msiexe.exe /i test.msi TRANSFORMS=:en-us.mst Then they notice that during this second install, the status dialog box will have English (the second install) for text, title, buttons, etc, but the Status message itself remains in French (the first original install attempt). Is this a problem with WiX or Windows Installer itself? Did Windows Installer leave behind any info in the registry and making it failed to fully apply the transform after a force reset? Have anyone seen this before? Any help is appreciated. John Leung Software Engineer ---------------------------------------------------------------------------- -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------ ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users End of WiX-users Digest, Vol 49, Issue 15 ***************************************** ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users