[WiX-users] Different versions with different installer builders
Hello, We recently switched the way we were building the installer for our product from a deployment project in Visual Studio to a WiX project and we love it. But there is a problem which I don't know how to solve. The installer for our product version 1.2.3 was built in Visual Studio. Then we switched to WiX and we've built another installer which delivers the same contents, therefore we didn't want to increment the version. The idea was that those who have ver. 1.2.2 would upgrade to 1.2.3 using the new installer and those who already have installed 1.2.3 by the previous installer would get the message that they have another version of the product etc. etc. First I tried to preserve only the upgrade code between the versions and to change the ProductCode and the PackageCode. This didn't work: if you have 1.2.2 it would install the 1.2.3 from the new installer as a separate product - they both appear in Add/Remove Programs. Then I preserved the ProductCode also but as expected the things did not get any better: when trying to upgrade from 1.2.2 to the new 1.2.3 it gave me the message that I have another version of the product and I should uninstall first, naturally... Can you please suggest how to solve this problem? We'll appreciate it! Thank you Val Melamed - 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.php&p=sourceforge&CID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Help with file associations
Hi Justin, Thank you for your reply. I was pretty sure that I already tried what you are suggesting but I tried it again anyway. Unfortunately it didn't work again. :( There is an important piece of information that I forgot to mention - the associations and the icons do not work at on Vista. I just tried my original code on XP and they all worked. So, it looks like Vista does not like my code (which is a close copy from the tutorial). Someone mentioned to me that probably this has something to do with Vista's "Default Programs". I would be very surprised if 2.0.4820 has any support for that but what about a workaround or may be a newer version? If anyone out there has any idea, I'll be grateful if you'd share it on this forum. Thank you Val Melamed -Original Message- From: Justin Dearing [mailto:[EMAIL PROTECTED] Sent: Sunday, April 01, 2007 12:51 PM To: Valentin I. Melamed Subject: Re: [WiX-users] Help with file associations On 4/1/07, Valentin I. Melamed <[EMAIL PROTECTED]> wrote: > I have a problem with file associations - can you tell me please what I am > doing wrong here: > > Guid="597C3CAE-C03D-48DA-AF29-6D3917CD88C1"> > >src="$(var.srcDir)prgrm.exe" /> > > > > Guid="751C4A6D-C365-4b21-8D6F-048969F3E72C"> > > ASSOCIATECSS=1 > >LongName="prgrm_file_css.ico" src="Bitmaps\prgrm_file_css.ico" /> > > > > > >Sequence="10" Argument='"%1"' /> > > > > > >Root="HKCR" Key=".css" Value="prgrm.cssfile" /> > >Root="HKCR" Key="prgrm.cssfile" Value="$(loc.AssociationsDlgAssocCss)"/> > >Root="HKCR" Key="prgrm.cssfile\DefaultIcon" > Value="[INSTALLDIR]prgrm_file_css.ico"/> > > > > > The file icon is not set and the association does not work... Don't manipulate the registry use the Verb element under the extension elemetn under the ProgId element. This is what I do for PlaneDisaster.NET: - 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.php&p=sourceforge&CID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Help with file associations
Hello, I have a problem with file associations - can you tell me please what I am doing wrong here: ASSOCIATECSS=1 The file icon is not set and the association does not work... My other question is about check boxes. How do I set the value of a check box. The CheckBoxValue attribute does not work for me - no matter what value I set it to, the check box is always checked. Thank you Val Melamed - 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.php&p=sourceforge&CID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users