Re: [WiX-users] Upgrade nightmare again
Basically you make them elevated by marking them deferred and sequencing them between InstallInitialize and InstallFinalize. Phil Wilson -Original Message- From: Andy2k8 [mailto:appr...@gmail.com] Sent: Wednesday, January 13, 2010 10:25 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Upgrade nightmare again I have the following immediate custom actions sequenced during upgrade ExportRegistry - to export a specific hive on windows registry as .reg file ModifyRegistry - to make a few modifications for the new product ImportRegistry - to import the .reg file and the CAs are scheduled as ExportRegistry InstallInitialize ModifyRegistry before InstallFiles (because i use an installed .exe to modify .reg file) ImportRegistry after InstallFinalze This works fine when i run the upgrade on Win XP. But On Vista and Windows 7 it doesn't because that requires elevation. I have sequenced RemoveExistingProducts/ after InstallInitialize/ Can anybody give me the proper sequencing and conditions to run the CAs in the elevated mode?? - Andy MSI Developer Schneider Electric:working: -- View this message in context: http://n2.nabble.com/Upgrade-nightmare-again-tp4360304p4360304.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at Portland House, Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] upgrade nightmare
I'm guessing you want to avoid passing the REINSTALLMODE to the bootstrapper, correct? My solution to the same problem (thanks to the help of others on this list) was to use * as the product code, and define every upgrade to be a major one. There is a way to distribute a bootstrapper with automated command line, but the problem with setting the REINSTALL flag all the time on an existing install is that on a clean install, nothing will happen. If you want to go that route though, check out 7zip, and create an SFX with the optional installer components. This will make a self-extracting zip file that auto extracts, runs an exe with your parameters, and then deletes the temp files. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adriaan Sent: Friday, March 30, 2007 2:52 AM To: Some user; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] upgrade nightmare You should change the ProductCode as well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Some user Sent: 30 March 2007 07:40 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] upgrade nightmare the problem is that requiring commandline parameters or bootstrapper is unacceptable for us, we have seen that our users are too stupid to type a commandline (!?) so I have been told toto make a thing that can do installs and updates on the same package without requiring any commandline parameters or bootstrapper.the only way I have worked out so far is to have a fixed package ID. The problem is that whenever I update installer nothing will be updated, as it will run the MSI from the cached version! -- View this message in context: http://www.nabble.com/upgrade-nightmare-tf2271831.html#a9747562 Sent from the wix-users mailing list archive at Nabble.com. -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforge CID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE V ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] upgrade nightmare
the problem is that requiring commandline parameters or bootstrapper is unacceptable for us, we have seen that our users are too stupid to type a commandline (!?) so I have been told toto make a thing that can do installs and updates on the same package without requiring any commandline parameters or bootstrapper.the only way I have worked out so far is to have a fixed package ID. The problem is that whenever I update installer nothing will be updated, as it will run the MSI from the cached version! -- View this message in context: http://www.nabble.com/upgrade-nightmare-tf2271831.html#a9747562 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] upgrade nightmare
You should change the ProductCode as well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Some user Sent: 30 March 2007 07:40 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] upgrade nightmare the problem is that requiring commandline parameters or bootstrapper is unacceptable for us, we have seen that our users are too stupid to type a commandline (!?) so I have been told toto make a thing that can do installs and updates on the same package without requiring any commandline parameters or bootstrapper.the only way I have worked out so far is to have a fixed package ID. The problem is that whenever I update installer nothing will be updated, as it will run the MSI from the cached version! -- View this message in context: http://www.nabble.com/upgrade-nightmare-tf2271831.html#a9747562 Sent from the wix-users mailing list archive at Nabble.com. -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforge CID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] upgrade nightmare
Alexander Gnauck wrote: Requirements: - Install and Updates must be redistributable with group policies. - The updates/patches must run without having the original MSI. - The latest update must be always be able to update the product, doesn't matter which previous version is installed. You can do that with a mix of approaches. But unless your product is huge or takes a long time to install, I'd suggest using major upgrades. That lets v1.20 upgrade v1.0, v1.0.1, v1.10, etc. You can do it with patches and minor upgrades but there's additional overhead. -- sig://boB http://bobs.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users