Hi Sascha, Thanks for the reply. You mentioned something about Burn EXE in your previous post. Any idea how to use this tool? Thanks in advance
Regards Karthik Shenoy -----Original Message----- From: wix-users-requ...@lists.sourceforge.net [mailto:wix-users-requ...@lists.sourceforge.net] Sent: Tuesday, June 09, 2009 10:33 AM To: wix-users@lists.sourceforge.net Subject: WiX-users Digest, Vol 37, Issue 45 Send WiX-users mailing list submissions to wix-users@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/wix-users or, via email, send a message with subject or body 'help' to wix-users-requ...@lists.sourceforge.net You can reach the person managing the list at wix-users-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of WiX-users digest..." Today's Topics: 1. Re: Why do we have to use different product codes for different architecture package? (Rob Mensching) 2. Can I create Setup.exe in WiX3? (karthik.shenoy) 3. Re: Can I create Setup.exe in WiX3? (Sascha Beaumont) 4. heat / "SourceDir" (Sascha Beaumont) 5. Candle Generates Duplicate Primary Keys for Registry Table (Castro, Edwin G. Castro (Hillsboro)) 6. Re: heat / "SourceDir" (Castro, Edwin G. Castro (Hillsboro)) 7. During Uninstall of Web application installer Website name is not Remove on iis (sunil bisoyi) 8. Re: Uninstall Web application installer (sunil bisoyi) ---------------------------------------------------------------------- Message: 1 Date: Mon, 8 Jun 2009 19:44:27 -0700 From: Rob Mensching <r...@wixtoolset.org> Subject: Re: [WiX-users] Why do we have to use different product codes for different architecture package? To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Message-ID: <4a2dcc8b.5070...@wixtoolset.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed I thought the MSI SDK has pretty clear guidelines about when the ProductCode and UpgradeCode should change. DONG LEE wrote: > By browsing through the wix newsgroup, I've seen in multiple occasions that > people say it is recommended to > use different ProductCode GUIDs for packages targeted for different > architectures, and even the UpdadeCode. > What is the reason for that? I am building x86 and x64 packages with the > same wix source code, but they have > the same product and upgrade codes now. So I wanted to find out why the > practice is recommended before making > changes to my code. Thanks! > ---------------------------------------------------------------------------- -- > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------ Message: 2 Date: Tue, 9 Jun 2009 09:38:36 +0530 From: "karthik.shenoy" <karthik.she...@robosoftin.com> Subject: [WiX-users] Can I create Setup.exe in WiX3? To: <wix-users@lists.sourceforge.net> Message-ID: <001b01c9e8b7$f6961560$e3c240...@shenoy@robosoftin.com> Content-Type: text/plain; charset="US-ASCII" Hi All, I have been using InstallShield all these days. Recently we started using WiX3 installers. I haven't found an option to create Setup.exe in WiX as in Installshield. Could you please help me. Karthik ----------------------------------------------- Robosoft Technologies - Come home to Technology Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus. ------------------------------ Message: 3 Date: Tue, 9 Jun 2009 14:24:06 +1000 From: Sascha Beaumont <sascha.beaum...@gmail.com> Subject: Re: [WiX-users] Can I create Setup.exe in WiX3? To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <c13173070906082124n334b9becub0928efab5658...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 WiX simply deals with creating an MSI. What you're after is generally termed a "bootstrapper". This is coming in WiX 3.5 (I think?) under the tool named "burn". In the meantime, you've got a number of choices.. there's a bootstrapper included with Visual Studio (check the docs). If you're after a "single compressed exe" rather than two files (setup.exe + setup.msi) on disk you can create a self-extracting-exe using WinRar or similar. Or you can write your own. Your call. Personally we use the commercial bootstrapper included with MSI Factory, none of the free options were as flexible as what was included with InstallShield (we've only recently migrated) and after a bit of research we decided shelling out for a license worked out cheaper than putting something together in-house :) Search the archives though, someone else might have mentioned something else that I missed when trying to find a solution. There are a number of threads on the topic. Sascha On Tue, Jun 9, 2009 at 2:08 PM, karthik.shenoy<karthik.she...@robosoftin.com> wrote: > > > > > Hi All, > > > > I have been using InstallShield all these days. Recently we started using > WiX3 installers. > > I haven't found an option to create Setup.exe in WiX as in Installshield. > Could you please help me. > > > > Karthik > > > ----------------------------------------------- > Robosoft Technologies - Come home to Technology > > Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus. > ---------------------------------------------------------------------------- -- > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------ Message: 4 Date: Tue, 9 Jun 2009 14:36:14 +1000 From: Sascha Beaumont <sascha.beaum...@gmail.com> Subject: [WiX-users] heat / "SourceDir" To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <c13173070906082136r43fb6d26uaa3a09d114a5b...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Hi, I recall in a recent thread that heat generated .wxs files will search for files with the path "SourceDir\..." in folders specified with the "-b" switch to light, but can't find anything in the documentation about this feature/ Currently I'm just doing a search/replace and replacing "SourceDir\" with a $(var.xyz) preprocessor variable on the heat output, is there any benefit/problems with either method? Sascha ------------------------------ Message: 5 Date: Tue, 9 Jun 2009 00:37:52 -0400 From: "Castro, Edwin G. Castro (Hillsboro)" <edwin.cas...@fiserv.com> Subject: [WiX-users] Candle Generates Duplicate Primary Keys for Registry Table To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Message-ID: <1827ffb9db064245b9b10727dadf4340027771e...@iwpmail1.corp.checkfree.com> Content-Type: text/plain; charset="us-ascii" I used heat.exe to generate a *.wxs file with content similar to the following: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <ComponentGroup Id="CompGroup"> <ComponentRef Id="cmpBFB88FD66E534758BE01AC0742FDB4E0"/> </ComponentGroup> </Fragment> <Fragment> <DirectoryRef Id="APPDIR"> <Component Id="cmpBFB88FD66E534758BE01AC0742FDB4E0" Guid="*"> <File Id="filA4B960B6E3B540F08A7655F1DF889D16" KeyPath="yes" Source="C:\TEMP\Sample.txt"> <Class Id="{B32CC098-32A2-480F-9276-AB5CEB1F87F2}" Context="InprocServer32" Description="Interface Class" ThreadingModel="both"> <ProgId Id="Sample.Interface" Description="Interface Class" /> <ProgId Id="Sample.Interface.1" Description="Interface Class" /> </Class> <TypeLib Id="{D4835EDD-9AE9-4451-B550-FD9B64854DA1}" Description="Sample 1.0 Type Library" HelpDirectory="APPDIR" Language="0" MajorVersion="1" MinorVersion="0" /> </File> <RegistryValue Root="HKCR" Key="Interface" Value="" Type="string" Action="write" /> </Component> </DirectoryRef> </Fragment> </Wix> Candle compiles this just fine but when I try to link I get the following error: The primary key ' reg7CCD42352D83AF884895ECECFC666F57' is duplicated in table 'Registry'. Please remove one of the entries or rename a part of the primary key to avoid the collision. Here's the relevant sections from the *.wixobj file: <row sourceLineNumber="C:\temp\DuplicateRegistryPrimaryKey.wxs*13"> <field>reg7CCD42352D83AF884895ECECFC666F57</field> <field>0</field> <field>CLSID\{B32CC098-32A2-480F-9276-AB5CEB1F87F2}\ProgID</field> <field /> <field>Sample.Interface</field> <field>cmpBFB88FD66E534758BE01AC0742FDB4E0</field> </row> <row sourceLineNumber="C:\temp\DuplicateRegistryPrimaryKey.wxs*14"> <field>reg7CCD42352D83AF884895ECECFC666F57</field> <field>0</field> <field>CLSID\{B32CC098-32A2-480F-9276-AB5CEB1F87F2}\ProgID</field> <field /> <field>Sample.Interface.1</field> <field>cmpBFB88FD66E534758BE01AC0742FDB4E0</field> </row> Those refer to the <ProgId/> elements in the *.wxs file. My gut says that candle is having trouble generating unique keys for the <ProgId/> elements but I can't figure out why. I'm afraid I'm in over my head at this point. Is this a bug? Could somebody more knowledgeable explain what is going on? Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com<http://www.fiserv.com/> P Please consider the environment before printing this e-mail ------------------------------ Message: 6 Date: Tue, 9 Jun 2009 00:41:47 -0400 From: "Castro, Edwin G. Castro (Hillsboro)" <edwin.cas...@fiserv.com> Subject: Re: [WiX-users] heat / "SourceDir" To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Message-ID: <1827ffb9db064245b9b10727dadf4340027771e...@iwpmail1.corp.checkfree.com> Content-Type: text/plain; charset="utf-8" Take a look at the -var option for heat.exe. If you give it '-var var.xyz' then it will do the "search/replace" for you. I don't think there are any problems with using the feature but I could be wrong. Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com ??Please consider the environment before printing this e-mail > -----Original Message----- > From: Sascha Beaumont [mailto:sascha.beaum...@gmail.com] > Sent: Monday, June 08, 2009 9:36 PM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] heat / "SourceDir" > > Hi, > > I recall in a recent thread that heat generated .wxs files will search > for files with the path "SourceDir\..." in folders specified with the > "-b" switch to light, but can't find anything in the documentation > about this feature/ > > Currently I'm just doing a search/replace and replacing "SourceDir\" > with a $(var.xyz) preprocessor variable on the heat output, is there > any benefit/problems with either method? > > Sascha > > ----------------------------------------------------------------------- > ------- > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------ Message: 7 Date: Tue, 9 Jun 2009 10:28:28 +0530 From: sunil bisoyi <sunilbis...@gmail.com> Subject: [WiX-users] During Uninstall of Web application installer Website name is not Remove on iis To: wix-users@lists.sourceforge.net Message-ID: <10a4bbd30906082158h62635369y13e28a701a1d5...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Hi Team, I am using latest Release Wix 3.0 . During Uninstall of Web application installer Website name is not Remove on IIS. I tried to save the Website name to store environment variable , during installing I am able to save this value but I cannot able to get the during uninstalling. <CustomAction Id="RemoveWebSite" Script="vbscript" Execute="deferred"> <![CDATA[ On error resume next Dim WshShl, Shell, UserVar, strCmd 'Set objects Set WshShl = WScript.CreateObject("WScript.Shell") Set Shell = WshShl.Environment("System") 'Read variable UserVar = Shell("SERVICENAME") msgbox UserVar 'Session.Property("SERVICENAME") = UserVar msgbox Session.Property("SERVICENAME") 'Cleanup Objects Set WshShl = Nothing Set Shell = Nothing 'Exit Script WScript.Quit() ]]> </CustomAction> On the above script I am not getting the value of SERVICENAME env variable value. -- Regards, Sunil Bisoyi ------------------------------ Message: 8 Date: Tue, 9 Jun 2009 10:31:57 +0530 From: sunil bisoyi <sunilbis...@gmail.com> Subject: Re: [WiX-users] Uninstall Web application installer To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <10a4bbd30906082201x6c0a47fbk9df975792b99e...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 i am puting the website defn inside component and it is installed properly , but during uninstalling it working fine and remove all the registry entries and directories only problem is it does not able to remove the website name on iis. <Component Id="NewWebsiteConfigASP" Guid="E6605AB2-CA03-4A78-AE66-D7B9BEF4502A"> <iis:WebSite Id="IISWebsite" Description="[WEBSITEDESCRIPTION]" Directory="TARGETDIR" AutoStart="yes" ConfigureIfExists="yes" StartOnInstall="yes"> <iis:WebAddress Id="IISWebAddress" Port="[WEBSITEPORT]" IP="[WEBSITEIP]" Header="[WEBSITEHOSTHEADER]" /> <iis:WebDirProperties Id="IISWebDirProperties" Execute="yes" Read="yes" DefaultDocuments="default.aspx,index.aspx,index.htm,index.html" AnonymousAccess="yes" WindowsAuthentication="yes" /> <iis:WebDir Id="IISAppDataWebDir" Path="App_Data"> <iis:WebDirProperties Id="IISAppDataWebDirProperties" Write="yes" Read="yes" DefaultDocuments="default.aspx,index.aspx,index.htm,index.html" /> </iis:WebDir> On Mon, Jun 8, 2009 at 11:07 PM, Rob Mensching<r...@wixtoolset.org> wrote: > Did you put the WebSite definition inside a Component and is the > Component getting installed? A verbose log file will tell you much. > > sunil bisoyi wrote: >> Hi Team, >> >> Web application installer uninstall functionality working fine, but it >> won't remove the website name on IIS. >> >> if any one resolve this issue please suggest me. >> -- >> Regards, >> >> Sunil Bisoyi >> >> ---------------------------------------------------------------------------- -- >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables unlimited >> royalty-free distribution of the report engine for externally facing >> server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > ---------------------------------------------------------------------------- -- > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Regards, Sunil Bisoyi Ignify,Inc. "Excellence in Technology" Tel: +91(20)66218120 Fax: +91(20)66218199 Mob-+91-9373138655 Email:sunil.bis...@ignify.com sunilbis...@gmail.com ------------------------------ ---------------------------------------------------------------------------- -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users End of WiX-users Digest, Vol 37, Issue 45 ***************************************** ----------------------------------------------- Robosoft Technologies - Come home to Technology Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users