[WiX-users] FW: Using a binary key from external merge module in Wix 3
Hi I have an external merge module (say External.msm) which I am referencing in my installer. In Binary table of External.msm I have an entry (say externEntry). I have a fragment (say FragmentX) written to define this merge module using Merge element. I have another fragment written that define a feature consuming this mergemodule using MergeRef element. I have another merge module (Mymodule.msm) written which defines a custom action with its BinaryKey attribute set to value as externEntry. Mymodule.msm is defined in the FragmentX. When the code was in wix v1 things built fine. But, in v3 I am getting an error Unresolved reference to symbol 'Binary:externEntry in section 'Module:Mymodule'. What should I do to resolve this issue ? Mukesh -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Heat'ing TypeLib difficulties and difference between wix versions
You lead me to the right direction however :) Thank you. Regard to http://technet.microsoft.com/en-us/library/cc739822.aspx the HKCR is a merge of HKLM/Software/Classes and HKCU/Software/Classes. That led me to wondering how the install scope for the new installation package was set, and there wasn't specified any installScope... So by setting this to perMachine and using HKCR the problem was solved. Awfull miss but very nice that the toolkit is working perfect :) Thank you. Best regards Jesper Neil Sleightholm wrote: HKLM\Software\Classes is the same as HKCR. Neil Neil Sleightholm X2 Systems Limited From: jballe I will harvest a .Net COM dll and typelibrary (tlb) and had this working earlier when I understood that I had to use the registration values instead of Class-tags. However I now recognize that the recent version of heat creates all the registry values underneath HKCR while using the older build 4805 creates all the registrations underneath HKLM. -- View this message in context: http://n2.nabble.com/Heat%27ing-TypeLib-difficulties-and-difference-between-wix-versions-tp2880427p2888767.html Sent from the wix-users mailing list archive at Nabble.com. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Heat'ing TypeLib difficulties and difference between wix versions
Hey Brian, The problem is solved by changing the installScope, sorry for the inconvenience. So I won't file a bug, but thank you for noticing. Best regards, Jesper Brian Rogers wrote: Hey Jesper, Can you file a bug for this? Tomorrow is the last night to fix bugs on heat.exe. Please give me the full Component/ element or better yet the .tlb itself so I can duplicate. Thanks, Brian Rogers Intelligence removes complexity. - Me -- View this message in context: http://n2.nabble.com/Heat%27ing-TypeLib-difficulties-and-difference-between-wix-versions-tp2880427p2888776.html Sent from the wix-users mailing list archive at Nabble.com. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] 'Automatic' Feature selection
Hi, Following Situation: The Installer for our Product uses a modified version of WiXUI_Mondo. In the Feature-Selection Dialog the user has the option to choose between different Skins for the Product. Problem is now when the user deselects ALL Skins, the Application refuses to start because at least one Skin is needed. An option is now to set the 'Absent' Attribute of our Default-Skin to 'disallow', so it can't be deselected, but our PM asked, if it is possible to also allow deselecting the Default-Skin. So I'm in the situation that I have to catch the case that the user has deselected ALL Skins and disallow further installation. My preferred way is to 'automatically' select the 'Default Skin' feature, if all skins are deselected. Is this possible somehow ? Or is it possible to disable the 'Next' Button if the user has deselected all features ? (I'm currently browsing the MSI docs, maybe I find a way to abort the installation as a last resort) Next Problem: Some Dialogs later the user can choose the Skin, that should be set to his default in a ComboBox Control. Currently the values for the ComboBox are hardcoded in ListItem elements. Is it possible to remove/add items from this list based on the install-state of a feature, so that only skins that are set to be installed are present ? Thanks in advance, Thomas Mit freundlichen Grüßen / Best Regards Thomas Terhaar | Senior .NET Developer VoicInt Telecommunications GmbH | NL Dortmund | Lindemannstr. 78 | 44137 Dortmund | Germany | Geschäftsführer: Peter Nowack Haupthaus Köln, Kaesenstr. 19, 50677 Köln | Amtsgericht Köln HRB 53720 | Ust.-IdNr.: DE 237746146 | phone: +49(0)231 55 74 02 18 | fax: +49(0)231 55 74 02 99 | email: thomas.terh...@voicint.com mailto:thomas.terh...@voicint.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Installing fonts
I always get the is a Font and must be installed to the FontsFolder-warnings. The fonts need to be installed in the directory with Id=FontsFolder. I was doing this correct. The problem, however, is that I was doing this from a mergemodule. WiX applies modularization to the the directory Id, causing this warnings. Can I suppress the modularization on the directory id? - Kim -- *Kim Gybels Software Developer * kim.gyb...@metris.com mailto:kim.gyb...@metris.com Tel: +32 16 74 01 01 Fax: +32 16 74 01 02 * Metris Europe * Interleuvenlaan 86 3001 Leuven Belgium www.metris.com http://www.metris.com/ This message and any attachment are privileged, confidential and contain private information. If you are not the addressee named above any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is prohibited. If you have received this transmission in error, please notify the sender immediately and destroy this e-mail. Metris does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interference, and shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Incoming and outgoing email communications may be monitored by Metris, as permitted by applicable law and regulations. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two Entries in Add or Remove Programs
I've encountered a double ARP entry with one of my installers a couple of months ago. As far as I remember only private build part of product version was changed what made the new installer act like a small update instead of a major upgrade (MSI only uses the first three parts of the version number). Changing third part instead of fourth fixed it at that time. Regards, Mike -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Uninstall Assembly from GAC when Wix MSI Uninstalled
Phil, Many thanks for the reply. I spent some time reviewing the MsiAssemblyName table and discovered that the third-party assembly I am trying to install does not have ProcessorArchitecture attribute set, however I was specifying MSIL as the processor architecture in the WiX File element. As a result, the assembly manifest information being populated into the MsiAssemblyName table didn't actually match the assembly in the GAC and I presume that was the cause of the failure to remove the assembly. Once I had removed the processor architecture attribute on the File element, the assembly was successfully removed from the GAC. Many thanks for your help with this. Rgds, Nick. Wilson, Phil wrote: Assuming there are no sharing issues keeping it installed, the typical reason for this is that the actual assembly name details do not match the description that ends up in the MsiAssemblyName table in the MSI file. This means that the identity must be fully specified with name, publickeytoken, processor architecture, version, culture. I thought something in WiX added all this to the MsiAssemblyName table. Phil Wilson -Original Message- From: nickheppleston [mailto:n...@modhul.com] Sent: Wednesday, May 13, 2009 8:05 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstall Assembly from GAC when Wix MSI Uninstalled My WiX project installs a .Net 2.0 assembly into the GAC on install, however when I uninstall, the assembly remains in the GAC. Anyone have any pointers to how I go about removing the assembly from the GAC on uninstall? Is there an option similar to the RegistryKey 'createAndRemoveOnUninstall' action? I am using the following WiX entry to add the assembly to the GAC: Component Id=LicencingAssembly Guid=9ACD8C7F-FF79-47A4-8195-4825D96381D1 DiskId=1 File Id=Foo.dll KeyPath=yes Assembly=.net ProcessorArchitecture=msil Name=Foo.dll Source=..\..\Binaries\Foo.dll / /Component Rgds, Nick. -- View this message in context: http://n2.nabble.com/Uninstall-Assembly-from-GAC-when-Wix-MSI-Uninstalled-tp2884391p2884391.html Sent from the wix-users mailing list archive at Nabble.com. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://n2.nabble.com/Uninstall-Assembly-from-GAC-when-Wix-MSI-Uninstalled-tp2884391p2889156.html Sent from the wix-users mailing list archive at Nabble.com. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Uninstall Assembly from GAC when Wix MSI Uninstalled
Hi Nick, I have a similar problem I think. Could you post the WiX snippet for the assembly that you were having problems with so that I can compare and contrast with my own install? Many Thanks, /john - Original Message - From: nickheppleston n...@modhul.com To: wix-users@lists.sourceforge.net Sent: Thursday, May 14, 2009 10:52 AM Subject: Re: [WiX-users] Uninstall Assembly from GAC when Wix MSI Uninstalled Phil, Many thanks for the reply. I spent some time reviewing the MsiAssemblyName table and discovered that the third-party assembly I am trying to install does not have ProcessorArchitecture attribute set, however I was specifying MSIL as the processor architecture in the WiX File element. As a result, the assembly manifest information being populated into the MsiAssemblyName table didn't actually match the assembly in the GAC and I presume that was the cause of the failure to remove the assembly. Once I had removed the processor architecture attribute on the File element, the assembly was successfully removed from the GAC. Many thanks for your help with this. Rgds, Nick. Wilson, Phil wrote: Assuming there are no sharing issues keeping it installed, the typical reason for this is that the actual assembly name details do not match the description that ends up in the MsiAssemblyName table in the MSI file. This means that the identity must be fully specified with name, publickeytoken, processor architecture, version, culture. I thought something in WiX added all this to the MsiAssemblyName table. Phil Wilson -Original Message- From: nickheppleston [mailto:n...@modhul.com] Sent: Wednesday, May 13, 2009 8:05 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstall Assembly from GAC when Wix MSI Uninstalled My WiX project installs a .Net 2.0 assembly into the GAC on install, however when I uninstall, the assembly remains in the GAC. Anyone have any pointers to how I go about removing the assembly from the GAC on uninstall? Is there an option similar to the RegistryKey 'createAndRemoveOnUninstall' action? I am using the following WiX entry to add the assembly to the GAC: Component Id=LicencingAssembly Guid=9ACD8C7F-FF79-47A4-8195-4825D96381D1 DiskId=1 File Id=Foo.dll KeyPath=yes Assembly=.net ProcessorArchitecture=msil Name=Foo.dll Source=..\..\Binaries\Foo.dll / /Component Rgds, Nick. -- View this message in context: http://n2.nabble.com/Uninstall-Assembly-from-GAC-when-Wix-MSI-Uninstalled-tp2884391p2884391.html Sent from the wix-users mailing list archive at Nabble.com. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://n2.nabble.com/Uninstall-Assembly-from-GAC-when-Wix-MSI-Uninstalled-tp2884391p2889156.html Sent from the wix-users mailing list archive at Nabble.com. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even
[WiX-users] where I can get documentation about wix?
Hello, All! It seems there a trouble to display documentation on wix site. http://wix.sourceforge.net/manual-wix2/wix_xsd_index.htm Is there another place wnere can I get docs? -- /BR, Alexander -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Uninstall Assembly from GAC when Wix MSI Uninstalled
John, I was originally using the following WiX entry: Component Id=LicencingAssembly Guid=9ACD8C7F-FF79-47A4-8195-4825D96381D1 DiskId=1 File Id=Foo.dll KeyPath=yes Assembly=.net ProcessorArchitecture=msil Name=Foo.dll Source=..\..\Binaries\Foo.dll / /Component Which produced the following entry in the MsiAssemblyName table (view using the Orca.exe tool shipped with the Windows SDK): name: Foo version: 1.0.0.0 culture: neutral publicKeyToken: 4A3C0A4C668B48B4 processorArchitecure: MSIL However, looking at the assembly in the GAC, there was no entry for it in the 'Processor Architecture' column (i.e no 'MSIL', 'x86' or 'x64'). I therefore removed the ProcessorArchitecture attribute from the File element, so my Wix entry now looks like: Component Id=LicencingAssembly Guid=9ACD8C7F-FF79-47A4-8195-4825D96381D1 DiskId=1 File Id=Foo.dll KeyPath=yes Assembly=.net Name=Foo.dll Source=..\..\Binaries\Foo.dll / /Component I installed and uninstalled the MSI and the assembly is successfully removed from the GAC. Looking at the MsiAssemblyName table for the MSI with the revised WiX entry, I now see the following: name: Foo version: 1.0.0.0 culture: neutral publicKeyToken: 4A3C0A4C668B48B4 Note the lack of the *processorArchitecture* entry - this now matches the assembly manifest of the assembly I was installing to the GAC. Hope this helps. Rgds, Nick. John Daintree wrote: Hi Nick, I have a similar problem I think. Could you post the WiX snippet for the assembly that you were having problems with so that I can compare and contrast with my own install? Many Thanks, /john - Original Message - From: nickheppleston n...@modhul.com To: wix-users@lists.sourceforge.net Sent: Thursday, May 14, 2009 10:52 AM Subject: Re: [WiX-users] Uninstall Assembly from GAC when Wix MSI Uninstalled Phil, Many thanks for the reply. I spent some time reviewing the MsiAssemblyName table and discovered that the third-party assembly I am trying to install does not have ProcessorArchitecture attribute set, however I was specifying MSIL as the processor architecture in the WiX File element. As a result, the assembly manifest information being populated into the MsiAssemblyName table didn't actually match the assembly in the GAC and I presume that was the cause of the failure to remove the assembly. Once I had removed the processor architecture attribute on the File element, the assembly was successfully removed from the GAC. Many thanks for your help with this. Rgds, Nick. Wilson, Phil wrote: Assuming there are no sharing issues keeping it installed, the typical reason for this is that the actual assembly name details do not match the description that ends up in the MsiAssemblyName table in the MSI file. This means that the identity must be fully specified with name, publickeytoken, processor architecture, version, culture. I thought something in WiX added all this to the MsiAssemblyName table. Phil Wilson -Original Message- From: nickheppleston [mailto:n...@modhul.com] Sent: Wednesday, May 13, 2009 8:05 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstall Assembly from GAC when Wix MSI Uninstalled My WiX project installs a .Net 2.0 assembly into the GAC on install, however when I uninstall, the assembly remains in the GAC. Anyone have any pointers to how I go about removing the assembly from the GAC on uninstall? Is there an option similar to the RegistryKey 'createAndRemoveOnUninstall' action? I am using the following WiX entry to add the assembly to the GAC: Component Id=LicencingAssembly Guid=9ACD8C7F-FF79-47A4-8195-4825D96381D1 DiskId=1 File Id=Foo.dll KeyPath=yes Assembly=.net ProcessorArchitecture=msil Name=Foo.dll Source=..\..\Binaries\Foo.dll / /Component Rgds, Nick. -- View this message in context: http://n2.nabble.com/Uninstall-Assembly-from-GAC-when-Wix-MSI-Uninstalled-tp2884391p2884391.html Sent from the wix-users mailing list archive at Nabble.com. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get
[WiX-users] CommonAppDataFolder Property on Win7/64
Hi, Our WiX3 installer uses the CommonAppDataFolder Property Directory Id=CommonAppDataFolder (according to http://msdn.microsoft.com/en-us/library/aa367992(VS.85).aspx) to find out the path to the Application Data that are used by the software to install. That works on my XP machine (C:\Documents and Settings\All Users\Application Data is returned) and our software uses the same path by finding it with a call to SHGetSpecialFolderPath (0, path, CSIDL_COMMON_APPDATA, 0). Anyway on Win7/64 RC the path returned by CommonAppDataFolder of the WiX3 installer project is C:\Users\All Users\, but the OS delivers C:\Users\All Users\Application Data to our Software. Who should I trust? Or did I mix the properties? Thanks for any hint or place to read, Stephan __ Stephan O'Farrill Weyringergasse 37/3/11a 1040 Vienna / Austria +43 680 1268 751 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] where I can get documentation about wix?
I have found documentation in doc folder of wix distributive. 2009/5/14 Alexander Bubnov alexander.bub...@gmail.com: Hello, All! It seems there a trouble to display documentation on wix site. http://wix.sourceforge.net/manual-wix2/wix_xsd_index.htm Is there another place wnere can I get docs? -- /BR, Alexander -- /BR, Alexander -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Select Target Path outside Merge Module
Hi, Is it possible to select the install path (with UI) for one of the directories in a merge module (containing several directories) from the enclosing WiX3 product installer script? If yes, how do I have to define the property outside the merge module to be able to reference it inside the referring merge module in order to set the target folder? thanks, Stephan __ Stephan O'Farrill Weyringergasse 37/3/11a 1040 Vienna / Austria +43 680 1268 751 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Questions on Why WiX Installer Combines the VSAddIns into One MSI
I've been looking over the WiX setup code which is used to create the WiX Toolset installer and had a best practice question regarding putting all support for Visual Studio versions into one MSI. WiX supports VS2005 and VS2008 and installs addins all in the same MSI. I'm actually in the same boat where my company has support for VS2005 and VS2008 addins but they are currently implemented in two separate MSIs. Now, I would like to move them into one MSI just like the Wix installer. However, my one concern is that in the future, if for example we decide to deprecate VS2005 support, we have the following issues: 1) If they are in separate MSIs, I just stop building that MSI 2) If they are in the same MSI, I still have to build that VS2005 code. If I remove the wix code for VS2005, then when I install this new MSI on a machine that already has an existing version of this MSI, won't it remove the VS2005 components from the system since my new MSI no longer has those components? Anyway, I just wanted to see if the Wix team thought about this and if so, how are you planning on addressing questions 2) above. -- View this message in context: http://n2.nabble.com/Questions-on-Why-WiX-Installer-Combines-the-VSAddIns-into-One-MSI-tp2890434p2890434.html Sent from the wix-users mailing list archive at Nabble.com. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Visual C++ Runtime MSM
Hello, All! I have tried to install my application with distributed msm files as I have found in the Internet: DirectoryRef Id=TARGETDIR Merge Id=VCRedist SourceFile=MySourceFiles\Microsoft_VC80_CRT_x86.msm DiskId=1 Language=0/ /DirectoryRef Feature Id=VCRedist Title=Visual C++ 8.0 Runtime AllowAdvertise=no Display=hidden Level=1 MergeRef Id=VCRedist/ /Feature Can you please let me know how can I check for success installation of runtime modules? Which files should be copied to computer? -- /BR, Alexander -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] checking for existing directory at runtime
Hi maybe this question is not really new, but I haven't found an answer yet.. In my installation dialog, the user has to enter the path to a EXE. When the user entered the value, I'd like to check, whether it really exists: Property Id=SEARCHFOREXE DirectorySearch Path=[PATHTOEXE] Depth=0 Id=FindExe FileSearch Name=MyApp.exe/ /DirectorySearch /Property . Publish Dialog=PathsDlg Control=Back Event=NewDialog Value=InstallDirDlg1/Publish Publish Dialog=PathsDlg Control=Next Event=NewDialog Value=VerifyReadyDlg1/Publish Publish Dialog=PathsDlg Control=Next Event=SpawnDialog Value=RegAsmErrorNOT SEARCHFOREXE/Publish .. UI Dialog Id=PathsDlg Width=370 Height=270 Title=[ProductName] !(loc.Setup_title) ... Control Id=Path1Label Type=Text X=20 Y=60 Width=290 Height=13 Text=!(loc.PathsDlg_label1): / Control Id=Path1 Type=Edit X=20 Y=72 Width=320 Height=18 Property=PATHTOEXE Text=60 ToolTip=!(loc.PathsDlg_path1Help)/ Control Id=BottomLine Type=Line X=0 Y=234 Width=370 Height=0 / Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=!(loc.WixUINext) / Control Id=Back Type=PushButton X=180 Y=243 Width=56 Height=17 Text=!(loc.WixUIBack) / Control Id=Cancel Type=PushButton X=304 Y=243 Width=56 Height=17 Cancel=yes Text=!(loc.WixUICancel) Publish Event=SpawnDialog Value=CancelDlg1/Publish /Control /Dialog /UI No matter what I enter for PATHTOEXE, I always get the same result. Obviously the property 'SEARCHFOREXE' is only evaluated once at compile time. Is there anybody out there, who can help me that? Thx in advance Mike -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WixUI_Advanced flavor and 64 bits folder
Hello, I wonder if there isn't a bug in WixUI_Advanced flavor with 64bits. The suggested folder in the destination folder dialog is C:\Program Files (x86)\My App but when I change the flavor into WixUI_InstallDir (and set the WIXUI_INSTALLDIR property), the suggested folder is the right one (C:\Program Files\My App) Did I miss another property ? My wxs file: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Product Id=f92cdf33-cca3-42b7-858e-9fd4b59345d3 Name=WixProject1 Language=1033 Version=1.0.0.0 Manufacturer=WixProject1 UpgradeCode=ecb7914a-3c1b-4294-8bec-5723d8170fdf Package InstallerVersion=200 Compressed=yes Platforms=x64 / Media Id=1 Cabinet=media1.cab EmbedCab=yes / Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFiles64Folder Directory Id=INSTALLLOCATION Name=MyApp Component Id=ProductComponent Guid=532cca55-2e47-43ec-b958-446b4f710798 Win64=yes File Id=MyApp Name=$(var.WindowsFormsApplication3.TargetFileName) Vital=yes Source=$(var.WindowsFormsApplication3.TargetPath) KeyPath=yes Shortcut Id=startmenuMyApp Directory=ProgramMenuDir Name=MyApp WorkingDirectory=INSTALLDIR Icon=$(var.WindowsFormsApplication3.TargetFileName) IconIndex=0 Advertise=yes / /File RemoveFolder Id=RemovePMenuDir Directory=ProgramMenuDir On=uninstall / /Component /Directory /Directory Directory Id=ProgramMenuFolder Name=Programs Directory Id=ProgramMenuDir Name=MyApp / /Directory /Directory Feature Id=ProductFeature Title=WixProject1 Level=1 ComponentRef Id=ProductComponent / /Feature Property Id=WixAppFolder Value=WixPerMachineFolder / Property Id=ApplicationFolderName Value=MyApp / UIRef Id=WixUI_Advanced / UIRef Id=WixUI_ErrorProgressText / UI / Icon Id=$(var.WindowsFormsApplication3.TargetFileName) SourceFile=$(var.WindowsFormsApplication3.TargetPath) / /Product /Wix -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Absolute beginner need help!
All, I have just downloaded and installed WiX v3 for my Visual Studio 2008. I am able to create a WiX project, but I can't seem to get a basic Product.wxs file compilable. Can anyone point me to a very simple sample Product.wxs file that I can use to get just a successful build? Thanks! -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Absolute beginner need help!
Try this: http://neilsleightholm.blogspot.com/2009/01/wix-script-for-major-upgrade s.html Neil -Original Message- From: Hu, Pan [mailto:pan...@eds.com] Sent: 14 May 2009 15:56 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Absolute beginner need help! All, I have just downloaded and installed WiX v3 for my Visual Studio 2008. I am able to create a WiX project, but I can't seem to get a basic Product.wxs file compilable. Can anyone point me to a very simple sample Product.wxs file that I can use to get just a successful build? Thanks! -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Files in use
I changed to a single ServiceControl element and it still failed. I was wondering whether I am doing this right, I am modifying the new install but I was wondering if the problem is the original install that is being replaced - does anyone know which install is throwing up the File in use dialog? Neil -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 12 May 2009 18:18 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use I am using MSIRESTARTMANAGERCONTROL=Disable which according to the docs Disables interaction of the package with the Restart Manager. Windows Installer uses the FilesInUse Dialog. - I am suspecting that it might mean that is disable use of MsiRMFilesInUse not the Restart Manager. The Wait value is 1 (yes) ServiceControl Id=StopZzzService Name=zzzSvc Stop=both Remove=uninstall Wait=yes / I wonder if this is relevant, I have 2 ServiceControl entries for each service because I only want to wait for stop not start. I will try removing one and see what happens. Neil -Original Message- From: Wilson, Phil [mailto:phil.wil...@wonderware.com] Sent: 12 May 2009 17:42 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use Some settings of MSIRESTARTMANAGERCONTROL disable the MsiRMFilesInUse dialog, the docs are clear on that, and don't turn off the entire files-in-use detection. Did you use Disable or DisableShutdown? What's the Wait value in your ServiceControl element? I'd expect to see a log entry saying that the service will be stopped due to a service control action before the files are updated, and I'm wondering if it wants the Wait value to wait for the service to stop, otherwise the service process might still be running when its files need updating. Phil Wilson -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesday, May 12, 2009 9:03 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use Even with it disabled I still think it is used. From the log: MSI (s) (AC:38) [16:52:55:648]: RESTART MANAGER: Disabled by MSIRESTARTMANAGERCONTROL property; Windows Installer will use the built-in FilesInUse functionality. Then a bit later: MSI (s) (AC:D4) [16:53:05:170]: RESTART MANAGER: Detected that application with id 3092, friendly name 'zzz Service', service short name 'zzzSvc', of type RmService and status 1 holds file[s] in use. Neil -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 12 May 2009 16:35 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use I disabled restart manager in 2 ways, with the property MSIRESTARTMANAGERCONTROL set to Disable and by removing the MsiRMFilesInUse dialog but I still get the FileInUse dialog. I think that means it is not directly attributable to restart manager. I did find a KB article that said that WI 4.5 fixed a file in use problem with case sensitivity of service names but I am using 4.5 on both systems (and 5.0 on Windows 7). I am not sure where to go from here, any help much appreciated. Neil -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: 12 May 2009 16:11 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use The difference between Vista and XP is the RestartManager. IIRC, there are a few things you can do to suppress the RestartManager usage via MSIRM type properties... that might get you closer. Neil Sleightholm wrote: When I run a major upgrade install on Windows Vista or later the files in use (or restart manager) dialog is displayed for the two services I am installing, this doesn't happen on Windows XP (Windows Installer v4.5). The services are controlled by the ServiceControl element and listed in the ServiceControl table. The dialog isn't needed as the services are stopped by the install but only after the InstallValidate action. I thought of moving the StopServices action but that can't be moved before InstallValidate which is where it would need to go. Does anyone know why this is happening? Is there any way to stop this dialog being displayed for services on Vista? Thanks Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com mailto:n...@x2systems.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net
Re: [WiX-users] Cross-Feature dependencies
On 14 May 2009, at 01:04, Rob Mensching wrote: Yes. Features are a tree but Components can be duplicated throughout as leaves as you want. In the end, a Component is installed as long as one of its Features is installed. Thanks, that seems to work. It does feel a little confusing to now have a top-level Feature in my Feature tree that apparently only exists to provide the ConfigurableDirectory attribute. There's an argument for splitting off the setting of the configurable directories into another UI screen, I guess. Cheers, Chris -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Post-installation - what got installed?
Is there any good way of checking exactly what features and components of a package actually got installed by a user? I was expecting to find some evidence of their GUIDs in the registry somewhere, but none of them seem to be present despite things seemingly being installed. Cheers, Chris -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] FW: Using a binary key from external merge module in Wix 3
Hello Mukesh, Have you tried setting SuppressModularization=yes on the binary element of your merge module? -Eric From: magra...@microsoft.com To: wix-users@lists.sourceforge.net Date: Thu, 14 May 2009 15:54:20 +0800 Subject: [WiX-users] FW: Using a binary key from external merge module in Wix 3 Hi I have an external merge module (say External.msm) which I am referencing in my installer. In Binary table of External.msm I have an entry (say externEntry). I have a fragment (say FragmentX) written to define this merge module using Merge element. I have another fragment written that define a feature consuming this mergemodule using MergeRef element. I have another merge module (Mymodule.msm) written which defines a custom action with its BinaryKey attribute set to value as externEntry. Mymodule.msm is defined in the FragmentX. When the code was in wix v1 things built fine. But, in v3 I am getting an error Unresolved reference to symbol 'Binary:externEntry in section 'Module:Mymodule'. What should I do to resolve this issue ? Mukesh -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users _ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] UAC prompt on feature modification after installation
A quick search turned up this KB, not sure if it will help.http://support.microsoft.com/kb/180548 -Eric Date: Wed, 13 May 2009 16:16:26 -0500 From: bphilp...@sqlsentry.net To: wix-users@lists.sourceforge.net Subject: [WiX-users] UAC prompt on feature modification after installation When I do a fresh install I'm using a bootstrapper to launch the msi with admin rights so I can perform a LogonUser call in order to validate the account used during the execution phase for the service. I want to do that validation up front so I don't get an error during the execution phase which would roll back the whole install. Everything works fine except today I noticed if I go to change in Add/Remove programs it doesn't elevate. So, when I go to the UI page where I enter in the credentials I get an error that I can't impersonate because I don't have those privileges with my current token. Is there a way to elevate upon change in add/remove programs? Is there a better way to do the account validation to begin with? -Brooke -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users _ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Preserve registry settings on upgrade
One solution I have seen implemented is to write an immediate custom action that runs before RemoveExistingProducts, queries the registry table for registry path and name, reads the values for keys in the table, and overwrites the value column of the registry table for the in memory database. This can be scoped by making a custom table that identifies which registry rows to migrate. This is essentially the same mechanism as the the registry search except you are required to write the registry search code yourself. This isn't actually a better solution, just different. It might be more maintainable and performant than all the registry searches and properties if you have a lot of registry values, but its a custom action so it will likely have bugs :). -Eric Date: Wed, 13 May 2009 15:56:08 -0500 From: alex.ivan...@shavlik.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Preserve registry settings on upgrade This is what I am doing. I hoped there was a better way. -Original Message- From: Michael Osmond [mailto:mosm...@baytech.com.au] Sent: Wednesday, May 13, 2009 14:43 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Preserve registry settings on upgrade Alex, Use the Registry Search to read the values into Properties before the upgrade, and use the Properties to write the registry settings. Michael From: Alex Ivanoff [alex.ivan...@shavlik.com] Sent: Thursday, 14 May 2009 12:34 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Preserve registry settings on upgrade Is it possible to preserver registry settings on major upgrade and only delete it on uninstall? -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users _ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Installing fonts
What version of the WiX toolset are you using? That shouldn't happen. Kim Gybels wrote: I always get the is a Font and must be installed to the FontsFolder-warnings. The fonts need to be installed in the directory with Id=FontsFolder. I was doing this correct. The problem, however, is that I was doing this from a mergemodule. WiX applies modularization to the the directory Id, causing this warnings. Can I suppress the modularization on the directory id? - Kim -- *Kim Gybels Software Developer * kim.gyb...@metris.com mailto:kim.gyb...@metris.com Tel: +32 16 74 01 01 Fax: +32 16 74 01 02 * Metris Europe * Interleuvenlaan 86 3001 Leuven Belgium www.metris.com http://www.metris.com/ This message and any attachment are privileged, confidential and contain private information. If you are not the addressee named above any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is prohibited. If you have received this transmission in error, please notify the sender immediately and destroy this e-mail. Metris does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interference, and shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Incoming and outgoing email communications may be monitored by Metris, as permitted by applicable law and regulations. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Select Target Path outside Merge Module
You'd have to refer to the Directory/@Id (that is in ALL CAPS, of course) with the Module GUID attached as well. stephan o'farrill wrote: Hi, Is it possible to select the install path (with UI) for one of the directories in a merge module (containing several directories) from the enclosing WiX3 product installer script? If yes, how do I have to define the property outside the merge module to be able to reference it inside the referring merge module in order to set the target folder? thanks, Stephan __ Stephan O'Farrill Weyringergasse 37/3/11a 1040 Vienna / Austria +43 680 1268 751 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Questions on Why WiX Installer Combines the VSAddIns into One MSI
It will remove them if you do a major upgrade. The old cached package is used for uninstall (that would have the VS2005 support) and the new package won't (so VS2005 support won't get added). That's one, of several, reasons we only do major upgrades in the WiX MSI. jnewton wrote: I've been looking over the WiX setup code which is used to create the WiX Toolset installer and had a best practice question regarding putting all support for Visual Studio versions into one MSI. WiX supports VS2005 and VS2008 and installs addins all in the same MSI. I'm actually in the same boat where my company has support for VS2005 and VS2008 addins but they are currently implemented in two separate MSIs. Now, I would like to move them into one MSI just like the Wix installer. However, my one concern is that in the future, if for example we decide to deprecate VS2005 support, we have the following issues: 1) If they are in separate MSIs, I just stop building that MSI 2) If they are in the same MSI, I still have to build that VS2005 code. If I remove the wix code for VS2005, then when I install this new MSI on a machine that already has an existing version of this MSI, won't it remove the VS2005 components from the system since my new MSI no longer has those components? Anyway, I just wanted to see if the Wix team thought about this and if so, how are you planning on addressing questions 2) above. -- View this message in context: http://n2.nabble.com/Questions-on-Why-WiX-Installer-Combines-the-VSAddIns-into-One-MSI-tp2890434p2890434.html Sent from the wix-users mailing list archive at Nabble.com. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Certificates and IIS
I have a wix project that creates a website. The certificate that that website uses is already be present on the machine being installed to. Is there a way to make the installer associate the website with the existing installer? (I can do this step manually, but I would rather have the installer do it). Failing that, is there somewhere I can see a good example of how to install a certificate. (for someone who does not know much about certificates.) I can see the certificate (when I click View Certificate in IIS) and I have access to the .cer file. Can I get enough info from that to install the certificate? Stephen - -- The information transmitted by this e-mail and any included attachments are from ARUP Laboratories and are intended only for the recipient. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws, or protected health information and is intended only for the use of the recipient. Unauthorized forwarding, printing, copying, distributing, or use of such information is strictly prohibited and may be unlawful. If you are not the intended recipient, please promptly delete this e-mail and notify the sender of the delivery error or you may call ARUP Laboratories Compliance Hot Line in Salt Lake City, Utah USA at (+1 (800) 522-2787 ext. 2100 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] UAC prompt on feature modification after installation
I'm currently using LogonUser. If I were to use SSPI I think I could validate the account, but I also need to impersonate the user. The reason is the service uses a connection string and I want to encrypt the connection string using the data protection api (DPAPI). So, I log in as the service account, impersonate, make sure I can connect to the database with that account, create the connection string, encrypt it using DPAPI, then revert to the original context. It works fine except for the fact that I need the SE_TCB_NAME privilege and from what I can tell unless you run elevated that privilege is not granted. When I do add/remove programs and do change, I don't get a UAC prompt, and the Immediate Actions are definitely not running under an elevated user context, which I need them to do. I could side step the issue completely if anyone has any good ideas for transferring database logon credentials to the service account (we have to support sql auth credentials from the service to our database). Brooke Philpott, Senior Technical Lead, SQL Sentry, Inc. P: 704.895.6241 x228 | F: 704.895.8771 | E: bphilp...@sqlsentry.net | B: brooke.blogs.sqlsentry.net -Original Message- From: Eric St.John [mailto:eric.st.j...@hotmail.com] Sent: Thursday, May 14, 2009 11:21 AM To: wix-users Subject: Re: [WiX-users] UAC prompt on feature modification after installation A quick search turned up this KB, not sure if it will help.http://support.microsoft.com/kb/180548 -Eric Date: Wed, 13 May 2009 16:16:26 -0500 From: bphilp...@sqlsentry.net To: wix-users@lists.sourceforge.net Subject: [WiX-users] UAC prompt on feature modification after installation When I do a fresh install I'm using a bootstrapper to launch the msi with admin rights so I can perform a LogonUser call in order to validate the account used during the execution phase for the service. I want to do that validation up front so I don't get an error during the execution phase which would roll back the whole install. Everything works fine except today I noticed if I go to change in Add/Remove programs it doesn't elevate. So, when I go to the UI page where I enter in the credentials I get an error that I can't impersonate because I don't have those privileges with my current token. Is there a way to elevate upon change in add/remove programs? Is there a better way to do the account validation to begin with? -Brooke -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users _ Hotmail(r) has ever-growing storage! Don't worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tut orial_Storage1_052009 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] checking for existing directory at runtime
AppSearch happens very early in the install process so it is only useful to initialize Properties. The UI interaction happens later. Michael Faden wrote: Hi maybe this question is not really new, but I haven't found an answer yet.. In my installation dialog, the user has to enter the path to a EXE. When the user entered the value, I'd like to check, whether it really exists: Property Id=SEARCHFOREXE DirectorySearch Path=[PATHTOEXE] Depth=0 Id=FindExe FileSearch Name=MyApp.exe/ /DirectorySearch /Property . Publish Dialog=PathsDlg Control=Back Event=NewDialog Value=InstallDirDlg1/Publish Publish Dialog=PathsDlg Control=Next Event=NewDialog Value=VerifyReadyDlg1/Publish Publish Dialog=PathsDlg Control=Next Event=SpawnDialog Value=RegAsmErrorNOT SEARCHFOREXE/Publish .. UI Dialog Id=PathsDlg Width=370 Height=270 Title=[ProductName] !(loc.Setup_title) ... Control Id=Path1Label Type=Text X=20 Y=60 Width=290 Height=13 Text=!(loc.PathsDlg_label1): / Control Id=Path1 Type=Edit X=20 Y=72 Width=320 Height=18 Property=PATHTOEXE Text=60 ToolTip=!(loc.PathsDlg_path1Help)/ Control Id=BottomLine Type=Line X=0 Y=234 Width=370 Height=0 / Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=!(loc.WixUINext) / Control Id=Back Type=PushButton X=180 Y=243 Width=56 Height=17 Text=!(loc.WixUIBack) / Control Id=Cancel Type=PushButton X=304 Y=243 Width=56 Height=17 Cancel=yes Text=!(loc.WixUICancel) Publish Event=SpawnDialog Value=CancelDlg1/Publish /Control /Dialog /UI No matter what I enter for PATHTOEXE, I always get the same result. Obviously the property 'SEARCHFOREXE' is only evaluated once at compile time. Is there anybody out there, who can help me that? Thx in advance Mike -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Post-installation - what got installed?
There is a whole portion of the MSI API dedicated to answering those questions. It is even automatable (available to script). Chris Ridd wrote: Is there any good way of checking exactly what features and components of a package actually got installed by a user? I was expecting to find some evidence of their GUIDs in the registry somewhere, but none of them seem to be present despite things seemingly being installed. Cheers, Chris -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Post-installation - what got installed?
I don't have ready to use solution, but http://blogs.technet.com/alexshev/archive/2008/06/30/from-msi-to-wix-part-17 -windows-installer-automation-interface-part-2.aspx may give you a good starting point, if that's what you want. Alex -Original Message- From: Chris Ridd [mailto:chrisr...@mac.com] Sent: Thursday, May 14, 2009 8:08 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Post-installation - what got installed? Is there any good way of checking exactly what features and components of a package actually got installed by a user? I was expecting to find some evidence of their GUIDs in the registry somewhere, but none of them seem to be present despite things seemingly being installed. Cheers, Chris -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX-users Digest, Vol 36, Issue 64
Thanks, Neil. How do I define the preprocessor? I'm getting the error: Undefined preprocessor variable '$(var.Version)'. I see that preprocessor variables are defined in the project properties when I right-click the project in the solution explorer, but shouldn't these variables be predefined? What do I have to enter in the Define preprocessor variables and/or Define WiX variables inputs? Thanks, Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -Original Message- From: wix-users-requ...@lists.sourceforge.net [mailto:wix-users-requ...@lists.sourceforge.net] Sent: Thursday, May 14, 2009 11:32 AM To: wix-users@lists.sourceforge.net Subject: WiX-users Digest, Vol 36, Issue 64 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: Absolute beginner need help! (Neil Sleightholm) 2. Re: Cross-Feature dependencies (Chris Ridd) 3. Post-installation - what got installed? (Chris Ridd) 4. Re: FW: Using a binary key from external merge module in Wix 3 (Eric St.John) 5. Re: UAC prompt on feature modification after installation (Eric St.John) 6. Re: Installing fonts (Rob Mensching) 7. Re: Preserve registry settings on upgrade (Eric St.John) -- Message: 1 Date: Thu, 14 May 2009 16:03:49 +0100 From: Neil Sleightholm n...@x2systems.com Subject: Re: [WiX-users] Absolute beginner need help! To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: e66649032ad92b42901bf5835c76a27f5...@harwood.x2systems.com Content-Type: text/plain; charset=us-ascii Try this: http://neilsleightholm.blogspot.com/2009/01/wix-script-for-major-upgrade s.html Neil -Original Message- From: Hu, Pan [mailto:pan...@eds.com] Sent: 14 May 2009 15:56 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Absolute beginner need help! All, I have just downloaded and installed WiX v3 for my Visual Studio 2008. I am able to create a WiX project, but I can't seem to get a basic Product.wxs file compilable. Can anyone point me to a very simple sample Product.wxs file that I can use to get just a successful build? Thanks! -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Message: 2 Date: Thu, 14 May 2009 16:05:25 +0100 From: Chris Ridd chrisr...@mac.com Subject: Re: [WiX-users] Cross-Feature dependencies To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: 899ef08a-a147-49c7-b734-242aaf525...@mac.com Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On 14 May 2009, at 01:04, Rob Mensching wrote: Yes. Features are a tree but Components can be duplicated throughout as leaves as you want. In the end, a Component is installed as long as one of its Features is installed. Thanks, that seems to work. It does feel a little confusing to now have a top-level Feature in my Feature tree that apparently only exists to provide the ConfigurableDirectory attribute. There's an argument for splitting off the setting of the configurable directories into another UI screen, I guess. Cheers, Chris -- Message: 3 Date: Thu, 14 May 2009 16:08:17 +0100 From: Chris Ridd chrisr...@mac.com Subject: [WiX-users] Post-installation - what got installed? To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: a4008d61-abbf-4e27-a74b-2e7c23fee...@mac.com Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Is there any good way of checking exactly what features and components of a package actually got installed by a user? I was expecting to find some evidence of their GUIDs in the registry somewhere, but none of them seem to be
Re: [WiX-users] Post-installation - what got installed?
On 14 May 2009, at 16:53, Alex Shevchuk wrote: I don't have ready to use solution, but http://blogs.technet.com/alexshev/archive/2008/06/30/from-msi-to-wix-part-17 -windows-installer-automation-interface-part-2.aspx may give you a good starting point, if that's what you want. Thanks Alex (and Rob) that looks just what I want. I shall point our QA people at the above URL and back away fast :-) Cheers, Chris -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Preprocessor variable var.Project.TargetFilePath
I have the following component in my Product.wxs file for my WiX project: Component Id=ProductComponent Guid=17e13748-8d44-47f6-b020-66d29f8a84fe File Id=InstallationTarget.exe Source=../../InstallationTarget/bin/Debug/InstallationTarget.exe/Fil e /Component My question is, I want to use a preprocessor variable, i.e. $(var.MyApp.TargetFilePath) for the 'Source' attribute of the 'File' element above. In Votive 3.0, is var.Project.TargetFilePath a built-in preprocessor? How do I define this in the project properties? Thanks! -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Certificates and IIS
I don't think the current CustomActions let you reference an installed certificate. However, you can just add the Certificate element under your Component and reference it by your WebSite and it should work. The WiX.chm reference should have the bits and pieces to put it together since I don't have an example ready. Schaff, Stephen wrote: I have a wix project that creates a website. The certificate that that website uses is already be present on the machine being installed to. Is there a way to make the installer associate the website with the existing installer? (I can do this step manually, but I would rather have the installer do it). Failing that, is there somewhere I can see a good example of how to install a certificate. (for someone who does not know much about certificates.) I can see the certificate (when I click View Certificate in IIS) and I have access to the .cer file. Can I get enough info from that to install the certificate? Stephen - -- The information transmitted by this e-mail and any included attachments are from ARUP Laboratories and are intended only for the recipient. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws, or protected health information and is intended only for the use of the recipient. Unauthorized forwarding, printing, copying, distributing, or use of such information is strictly prohibited and may be unlawful. If you are not the intended recipient, please promptly delete this e-mail and notify the sender of the delivery error or you may call ARUP Laboratories Compliance Hot Line in Salt Lake City, Utah USA at (+1 (800) 522-2787 ext. 2100 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Select Target Path outside Merge Module
Thanks Rob, I just needed to be convinced again to keep trying (after I thought I was through all possible combinations): Now I replaced - with _ in the GUIDs and viola! BTW. having a Guid attribute in a Module element is deprecated in WiX3 - using the Guid from the Package instead does not work though.) Thanks, Stephan. On Thu, May 14, 2009 at 5:31 PM, Rob Mensching r...@wixtoolset.org wrote: You'd have to refer to the Directory/@Id (that is in ALL CAPS, of course) with the Module GUID attached as well. stephan o'farrill wrote: Hi, Is it possible to select the install path (with UI) for one of the directories in a merge module (containing several directories) from the enclosing WiX3 product installer script? If yes, how do I have to define the property outside the merge module to be able to reference it inside the referring merge module in order to set the target folder? thanks, Stephan __ Stephan O'Farrill Weyringergasse 37/3/11a 1040 Vienna / Austria +43 680 1268 751 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- __ Stephan O'Farrill Weyringergasse 37/3/11a 1040 Vienna / Austria +43 680 1268 751 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Custom MergeModules
Should I be registering COMPlus/Non-ComPlus DLLs in a custom merge module? When I use Heat to extract the registry settings, and add them to the respective component, an error is caught on the setting for HelpDirectory parameter. It's set using the SystemFolder keyword. Jim MacDiarmid EDS, an HP company U.S. Public Sector Department of Homeland Security Segment 703-236-3821(office) 571-247-2343(cell) -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to get OnExit status in custom action using DTF
If I schedule a custom action for OnExit, is there an easy way from inside the custom action to determine if it was being called for OnExit=success, error, or cancel? It seems like this is simple but for some reason it escapes me. For example if I wanted one exit dialog that showed the install status Custom Action=ShowCompleteForm OnExit=error / Custom Action=ShowCompleteForm OnExit=cancel / Custom Action=ShowCompleteForm OnExit=success / [CustomAction] public static ActionResult ShowCompleteForm(Session session) { ActionResult ar = ActionResult.Success; try { using (CompleteForm form = new CompleteForm(*INSERT_STATUS_HERE*)) { form.ShowDialog(); } } catch (Exception ex) { session.Log(ex.ToString()); ar = ActionResult.Failure; } return (ar); } Thanks! -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX-users Digest, Vol 36, Issue 64
In the sample it is defined at the top of the file ?define Version = 1.0.0 ? - do you have that in your code? Neil -Original Message- From: Hu, Pan [mailto:pan...@eds.com] Sent: 14 May 2009 17:15 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX-users Digest, Vol 36, Issue 64 Thanks, Neil. How do I define the preprocessor? I'm getting the error: Undefined preprocessor variable '$(var.Version)'. I see that preprocessor variables are defined in the project properties when I right-click the project in the solution explorer, but shouldn't these variables be predefined? What do I have to enter in the Define preprocessor variables and/or Define WiX variables inputs? Thanks, Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -Original Message- From: wix-users-requ...@lists.sourceforge.net [mailto:wix-users-requ...@lists.sourceforge.net] Sent: Thursday, May 14, 2009 11:32 AM To: wix-users@lists.sourceforge.net Subject: WiX-users Digest, Vol 36, Issue 64 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: Absolute beginner need help! (Neil Sleightholm) 2. Re: Cross-Feature dependencies (Chris Ridd) 3. Post-installation - what got installed? (Chris Ridd) 4. Re: FW: Using a binary key from external merge module in Wix 3 (Eric St.John) 5. Re: UAC prompt on feature modification after installation (Eric St.John) 6. Re: Installing fonts (Rob Mensching) 7. Re: Preserve registry settings on upgrade (Eric St.John) -- Message: 1 Date: Thu, 14 May 2009 16:03:49 +0100 From: Neil Sleightholm n...@x2systems.com Subject: Re: [WiX-users] Absolute beginner need help! To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: e66649032ad92b42901bf5835c76a27f5...@harwood.x2systems.com Content-Type: text/plain; charset=us-ascii Try this: http://neilsleightholm.blogspot.com/2009/01/wix-script-for-major-upgrade s.html Neil -Original Message- From: Hu, Pan [mailto:pan...@eds.com] Sent: 14 May 2009 15:56 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Absolute beginner need help! All, I have just downloaded and installed WiX v3 for my Visual Studio 2008. I am able to create a WiX project, but I can't seem to get a basic Product.wxs file compilable. Can anyone point me to a very simple sample Product.wxs file that I can use to get just a successful build? Thanks! -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Message: 2 Date: Thu, 14 May 2009 16:05:25 +0100 From: Chris Ridd chrisr...@mac.com Subject: Re: [WiX-users] Cross-Feature dependencies To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: 899ef08a-a147-49c7-b734-242aaf525...@mac.com Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On 14 May 2009, at 01:04, Rob Mensching wrote: Yes. Features are a tree but Components can be duplicated throughout as leaves as you want. In the end, a Component is installed as long as one of its Features is installed. Thanks, that seems to work. It does feel a little confusing to now have a top-level Feature in my Feature tree that apparently only exists to provide the ConfigurableDirectory attribute. There's an argument for splitting off the setting of the configurable directories into another UI screen, I guess. Cheers, Chris -- Message: 3 Date: Thu, 14 May 2009 16:08:17 +0100 From: Chris Ridd chrisr...@mac.com Subject: [WiX-users] Post-installation - what got installed? To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: a4008d61-abbf-4e27-a74b-2e7c23fee...@mac.com
Re: [WiX-users] Heat'ing TypeLib difficulties and difference between wix versions
Hey Jesper, That is good news. It might be worth you adding this example to SourceForge.net for others to find if you have a moment. http://sourceforge.net/tracker/?group_id=105970atid=654188 Glad to hear all else is working well for you. Thanks, Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Thu, May 14, 2009 at 1:01 AM, jballe j...@visionpeople.dk wrote: Hey Brian, The problem is solved by changing the installScope, sorry for the inconvenience. So I won't file a bug, but thank you for noticing. Best regards, Jesper Brian Rogers wrote: Hey Jesper, Can you file a bug for this? Tomorrow is the last night to fix bugs on heat.exe. Please give me the full Component/ element or better yet the .tlb itself so I can duplicate. Thanks, Brian Rogers Intelligence removes complexity. - Me -- View this message in context: http://n2.nabble.com/Heat%27ing-TypeLib-difficulties-and-difference-between-wix-versions-tp2880427p2888776.html Sent from the wix-users mailing list archive at Nabble.com. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Trying to remove features from list of features that can be installed
I found that the Publish event AddLocal and Remove can set the feature to install or not to install, but it doesn't completely remove the feature from the list of features. What I need to do is remove the feature entirely, so that the customer doesn't even see it. As it is, they can still change it to install locally if they want to, which should be allowed... Is there another event type to completely remove the feature from the feature set? Any help would be appreciated! Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=Next Publish Event=DoAction Value=SetUsername Order=11/Publish Publish Event=DoAction Value=SetPassword Order=21/Publish Publish Event=AddLocal Value=LibraryFeatureLIBRARYENTITLEMENT = 1/Publish Publish Event=Remove Value=LibraryFeatureLIBRARYENTITLEMENT = 0/Publish Publish Event=AddLocal Value=CalendarAdminFeatureCALENDARENTITLEMENT = 1 AND LIBRARYENTITLEMENT = 1/Publish Publish Event=Remove Value=CalendarAdminFeatureCALENDARENTITLEMENT = 0 OR LIBRARYENTITLEMENT = 0/Publish Publish Event=AddLocal Value=CalendarFeatureCALENDARENTITLEMENT = 1 AND LIBRARYENTITLEMENT = 1/Publish Publish Event=Remove Value=CalendarFeatureCALENDARENTITLEMENT = 0 OR LIBRARYENTITLEMENT = 0/Publish Publish Event=AddLocal Value=DashboardAdminFeatureDASHBOARDENTITLEMENT = 1 AND LIBRARYENTITLEMENT = 1/Publish Publish Event=Remove Value=DashboardAdminFeatureDASHBOARDENTITLEMENT = 0 OR LIBRARYENTITLEMENT = 0/Publish Publish Event=AddLocal Value=DashboardFeatureDASHBOARDENTITLEMENT = 1 AND LIBRARYENTITLEMENT = 1/Publish Publish Event=Remove Value=DashboardFeatureDASHBOARDENTITLEMENT = 0 OR LIBRARYENTITLEMENT = 0/Publish /Control David Bartmess Wall Street On Demand -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX-users Digest, Vol 36, Issue 67
Where is the WiX.chm documentation? I can't seem to find it on the site. -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -Original Message- From: wix-users-requ...@lists.sourceforge.net [mailto:wix-users-requ...@lists.sourceforge.net] Sent: Thursday, May 14, 2009 1:50 PM To: wix-users@lists.sourceforge.net Subject: WiX-users Digest, Vol 36, Issue 67 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: Preprocessor variable var.Project.TargetFilePath (Rob Mensching) 2. Re: Certificates and IIS (Rob Mensching) 3. Re: Select Target Path outside Merge Module (stephan o'farrill) 4. Custom MergeModules (MacDiarmid, James D) 5. How to get OnExit status in custom action using DTF (Shawn Dwyer) 6. Re: WiX-users Digest, Vol 36, Issue 64 (Neil Sleightholm) -- Message: 1 Date: Thu, 14 May 2009 09:48:15 -0700 From: Rob Mensching r...@wixtoolset.org Subject: Re: [WiX-users] Preprocessor variable var.Project.TargetFilePath To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: 4a0c4b4f.2040...@wixtoolset.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed That variable comes from the project system. If you look at the command-line to candle.exe during the build, you'll see it (and may other things) passed in as the -D switch. You've asked a couple basic questions about the preprocessor. Have you read the WiX.chm documentation? Hu, Pan wrote: I have the following component in my Product.wxs file for my WiX project: Component Id=ProductComponent Guid=17e13748-8d44-47f6-b020-66d29f8a84fe File Id=InstallationTarget.exe Source=../../InstallationTarget/bin/Debug/InstallationTarget.exe/Fil e /Component My question is, I want to use a preprocessor variable, i.e. $(var.MyApp.TargetFilePath) for the 'Source' attribute of the 'File' element above. In Votive 3.0, is var.Project.TargetFilePath a built-in preprocessor? How do I define this in the project properties? Thanks! -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Message: 2 Date: Thu, 14 May 2009 09:52:30 -0700 From: Rob Mensching r...@wixtoolset.org Subject: Re: [WiX-users] Certificates and IIS To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: 4a0c4c4e.5070...@wixtoolset.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed I don't think the current CustomActions let you reference an installed certificate. However, you can just add the Certificate element under your Component and reference it by your WebSite and it should work. The WiX.chm reference should have the bits and pieces to put it together since I don't have an example ready. Schaff, Stephen wrote: I have a wix project that creates a website. The certificate that that website uses is already be present on the machine being installed to. Is there a way to make the installer associate the website with the existing installer? (I can do this step manually, but I would rather have the installer do it). Failing that, is there somewhere I can see a good example of how to install a certificate. (for someone who does not know much about certificates.) I can see the certificate (when I click View Certificate in IIS) and I have access to the .cer file. Can I get enough info from that to install the certificate? Stephen - -- The information transmitted by this e-mail and any included attachments are from ARUP Laboratories and are intended only for the recipient. The information contained in this message is confidential and may constitute inside or
[WiX-users] How to guide is always blank
I'm trying to access the following URL for a how-to-guide on shortcuts: http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm It always gives me blank pages, no matter what link I click on. For instance, when I click Files, Shortcuts and Registry link all it does is make this link disappear, and nothing is pulled up for me to read. Please advise if this is just blank or could this be an issue with my browser. -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to guide is always blank
Pan - They are all blank for me as well On Thu, May 14, 2009 at 2:15 PM, Hu, Pan pan...@eds.com wrote: I'm trying to access the following URL for a how-to-guide on shortcuts: http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm It always gives me blank pages, no matter what link I click on. For instance, when I click Files, Shortcuts and Registry link all it does is make this link disappear, and nothing is pulled up for me to read. Please advise if this is just blank or could this be an issue with my browser. -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to guide is always blank
It's blank for now. There was a hiccup uploading the updated documentation when the last build was released. It'll be fixed at the time the next build is released. On Thu, 14 May 2009 14:15 -0400, Hu, Pan pan...@eds.com wrote: I'm trying to access the following URL for a how-to-guide on shortcuts: http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm It always gives me blank pages, no matter what link I click on. For instance, when I click Files, Shortcuts and Registry link all it does is make this link disappear, and nothing is pulled up for me to read. Please advise if this is just blank or could this be an issue with my browser. -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Curtis Jewell swords...@csjewell.fastmail.us %DCL-E-MEM-BAD, bad memory -VMS-F-PDGERS, pudding between the ears [I use PC-Alpine, which deliberately does not display colors and pictures in HTML mail] -- Curtis Jewell swords...@csjewell.fastmail.us %DCL-E-MEM-BAD, bad memory -VMS-F-PDGERS, pudding between the ears [I use PC-Alpine, which deliberately does not display colors and pictures in HTML mail] -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX-users Digest, Vol 36, Issue 67
*Where is the WiX.chm documentation? I can't seem to find it on the site. * After installing Wix it can be found here: %ProgramFiles%\Windows Installer XML v3\doc\WiX.chm On Thu, May 14, 2009 at 2:01 PM, Hu, Pan pan...@eds.com wrote: Where is the WiX.chm documentation? I can't seem to find it on the site. -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -Original Message- From: wix-users-requ...@lists.sourceforge.net [mailto:wix-users-requ...@lists.sourceforge.net] Sent: Thursday, May 14, 2009 1:50 PM To: wix-users@lists.sourceforge.net Subject: WiX-users Digest, Vol 36, Issue 67 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: Preprocessor variable var.Project.TargetFilePath (Rob Mensching) 2. Re: Certificates and IIS (Rob Mensching) 3. Re: Select Target Path outside Merge Module (stephan o'farrill) 4. Custom MergeModules (MacDiarmid, James D) 5. How to get OnExit status in custom action using DTF (Shawn Dwyer) 6. Re: WiX-users Digest, Vol 36, Issue 64 (Neil Sleightholm) -- Message: 1 Date: Thu, 14 May 2009 09:48:15 -0700 From: Rob Mensching r...@wixtoolset.org Subject: Re: [WiX-users] Preprocessor variable var.Project.TargetFilePath To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: 4a0c4b4f.2040...@wixtoolset.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed That variable comes from the project system. If you look at the command-line to candle.exe during the build, you'll see it (and may other things) passed in as the -D switch. You've asked a couple basic questions about the preprocessor. Have you read the WiX.chm documentation? Hu, Pan wrote: I have the following component in my Product.wxs file for my WiX project: Component Id=ProductComponent Guid=17e13748-8d44-47f6-b020-66d29f8a84fe File Id=InstallationTarget.exe Source=../../InstallationTarget/bin/Debug/InstallationTarget.exe/Fil e /Component My question is, I want to use a preprocessor variable, i.e. $(var.MyApp.TargetFilePath) for the 'Source' attribute of the 'File' element above. In Votive 3.0, is var.Project.TargetFilePath a built-in preprocessor? How do I define this in the project properties? Thanks! -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Message: 2 Date: Thu, 14 May 2009 09:52:30 -0700 From: Rob Mensching r...@wixtoolset.org Subject: Re: [WiX-users] Certificates and IIS To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: 4a0c4c4e.5070...@wixtoolset.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed I don't think the current CustomActions let you reference an installed certificate. However, you can just add the Certificate element under your Component and reference it by your WebSite and it should work. The WiX.chm reference should have the bits and pieces to put it together since I don't have an example ready. Schaff, Stephen wrote: I have a wix project that creates a website. The certificate that that website uses is already be present on the machine being installed to. Is there a way to make the installer associate the website with the existing installer? (I can do this step manually, but I would rather have the installer do it). Failing that, is there somewhere I can see a good example of how to install a certificate. (for someone who does not know much about certificates.) I can see the certificate (when I click View Certificate in IIS) and I have access to the .cer file. Can I get enough info from that to
Re: [WiX-users] Custom MergeModules
Hey Jim, In general merge modules should be avoided. Unless you have clients of your product which will be integrating your merge module it is better to use .wixlib files internally to allow for shared components across multiple packages. What error are you getting in heat? Thanks, Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Thu, May 14, 2009 at 10:30 AM, MacDiarmid, James D james.macdiar...@eds.com wrote: Should I be registering COMPlus/Non-ComPlus DLLs in a custom merge module? When I use Heat to extract the registry settings, and add them to the respective component, an error is caught on the setting for HelpDirectory parameter. It's set using the SystemFolder keyword. Jim MacDiarmid EDS, an HP company U.S. Public Sector Department of Homeland Security Segment 703-236-3821(office) 571-247-2343(cell) -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX-users Digest, Vol 36, Issue 69
In the meantime, where can I turn for guidance on how to create shortcuts for the installer? -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -Original Message- From: wix-users-requ...@lists.sourceforge.net [mailto:wix-users-requ...@lists.sourceforge.net] Sent: Thursday, May 14, 2009 3:01 PM To: wix-users@lists.sourceforge.net Subject: WiX-users Digest, Vol 36, Issue 69 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. How to guide is always blank (Hu, Pan) 2. Re: How to guide is always blank (Shawn Dwyer) 3. Re: How to guide is always blank (Curtis Jewell) 4. Re: WiX-users Digest, Vol 36, Issue 67 (Shawn Dwyer) -- Message: 1 Date: Thu, 14 May 2009 14:15:43 -0400 From: Hu, Pan pan...@eds.com Subject: [WiX-users] How to guide is always blank To: wix-users@lists.sourceforge.net Message-ID: e759e5effa3a47458c4bfb81d8450e6f03ceb...@usahm201.amer.corp.eds.com Content-Type: text/plain; charset=us-ascii I'm trying to access the following URL for a how-to-guide on shortcuts: http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm It always gives me blank pages, no matter what link I click on. For instance, when I click Files, Shortcuts and Registry link all it does is make this link disappear, and nothing is pulled up for me to read. Please advise if this is just blank or could this be an issue with my browser. -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- Message: 2 Date: Thu, 14 May 2009 14:57:07 -0400 From: Shawn Dwyer shawn.o.dw...@gmail.com Subject: Re: [WiX-users] How to guide is always blank To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: 83f5eb7a0905141157u100b1b22g235cf4b2613fc...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Pan - They are all blank for me as well On Thu, May 14, 2009 at 2:15 PM, Hu, Pan pan...@eds.com wrote: I'm trying to access the following URL for a how-to-guide on shortcuts: http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm It always gives me blank pages, no matter what link I click on. For instance, when I click Files, Shortcuts and Registry link all it does is make this link disappear, and nothing is pulled up for me to read. Please advise if this is just blank or could this be an issue with my browser. -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Message: 3 Date: Thu, 14 May 2009 12:59:45 -0600 From: Curtis Jewell lists.wix-us...@csjewell.fastmail.us Subject: Re: [WiX-users] How to guide is always blank To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: 1242327585.1991.1315503...@webmail.messagingengine.com Content-Type: text/plain; charset=us-ascii It's blank for now. There was a hiccup uploading the updated documentation when the last build was released. It'll be fixed at the time the next build is released. On Thu, 14 May 2009 14:15 -0400, Hu, Pan pan...@eds.com wrote: I'm trying to access the following URL for a how-to-guide on shortcuts: http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm It always gives me blank pages, no matter what link I click on. For instance, when I click Files, Shortcuts and Registry link all it does is make this link disappear, and nothing is pulled up for me to read. Please advise if this is just blank or could this be an issue with my browser. -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- The NEW KODAK i700 Series
Re: [WiX-users] Two Entries in Add or Remove Programs
Success! Alex Shevchuk wrote: OK, here is the problem. Upgrade/@Id must have the same value as Product/@UpgradeCode. Thank you, Alex. That was the problem. FindRelatedProducts is working and only one entry exists in the Add or Remove Programs table after the installation of the new version. Now, along with Do not change the Product UpgradeCode, I have Verify that the Product UpgradeCode is identical to the Upgrade ID in my upgrade checklist. My gratitude goes also to Phil, Stephen and Michael. In this exchange I have uncovered other problems in my installer. -- Charles -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to guide is always blank
All of the content there is in the WiX.chm. Grab that, in the meantime. Curtis Jewell wrote: It's blank for now. There was a hiccup uploading the updated documentation when the last build was released. It'll be fixed at the time the next build is released. On Thu, 14 May 2009 14:15 -0400, Hu, Pan pan...@eds.com wrote: I'm trying to access the following URL for a how-to-guide on shortcuts: http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm It always gives me blank pages, no matter what link I click on. For instance, when I click Files, Shortcuts and Registry link all it does is make this link disappear, and nothing is pulled up for me to read. Please advise if this is just blank or could this be an issue with my browser. -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Curtis Jewell swords...@csjewell.fastmail.us %DCL-E-MEM-BAD, bad memory -VMS-F-PDGERS, pudding between the ears [I use PC-Alpine, which deliberately does not display colors and pictures in HTML mail] -- Curtis Jewell swords...@csjewell.fastmail.us %DCL-E-MEM-BAD, bad memory -VMS-F-PDGERS, pudding between the ears [I use PC-Alpine, which deliberately does not display colors and pictures in HTML mail] -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Trying to remove features from list of features that can be installed
Not sure, but it sounds like you want to Condition the Feature. David Bartmess wrote: I found that the Publish event AddLocal and Remove can set the feature to install or not to install, but it doesn't completely remove the feature from the list of features. What I need to do is remove the feature entirely, so that the customer doesn't even see it. As it is, they can still change it to install locally if they want to, which should be allowed... Is there another event type to completely remove the feature from the feature set? Any help would be appreciated! Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=Next Publish Event=DoAction Value=SetUsername Order=11/Publish Publish Event=DoAction Value=SetPassword Order=21/Publish Publish Event=AddLocal Value=LibraryFeatureLIBRARYENTITLEMENT = 1/Publish Publish Event=Remove Value=LibraryFeatureLIBRARYENTITLEMENT = 0/Publish Publish Event=AddLocal Value=CalendarAdminFeatureCALENDARENTITLEMENT = 1 AND LIBRARYENTITLEMENT = 1/Publish Publish Event=Remove Value=CalendarAdminFeatureCALENDARENTITLEMENT = 0 OR LIBRARYENTITLEMENT = 0/Publish Publish Event=AddLocal Value=CalendarFeatureCALENDARENTITLEMENT = 1 AND LIBRARYENTITLEMENT = 1/Publish Publish Event=Remove Value=CalendarFeatureCALENDARENTITLEMENT = 0 OR LIBRARYENTITLEMENT = 0/Publish Publish Event=AddLocal Value=DashboardAdminFeatureDASHBOARDENTITLEMENT = 1 AND LIBRARYENTITLEMENT = 1/Publish Publish Event=Remove Value=DashboardAdminFeatureDASHBOARDENTITLEMENT = 0 OR LIBRARYENTITLEMENT = 0/Publish Publish Event=AddLocal Value=DashboardFeatureDASHBOARDENTITLEMENT = 1 AND LIBRARYENTITLEMENT = 1/Publish Publish Event=Remove Value=DashboardFeatureDASHBOARDENTITLEMENT = 0 OR LIBRARYENTITLEMENT = 0/Publish /Control David Bartmess Wall Street On Demand -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Files in use
If you have an MSI log for the upgrade, I think the log will show the FilesInUse around the InstallValidate action that's in the RemoveExistingProducts section of the log where the old version is being uninstalled if it's the uninstall. I think I've seen FilesInUse being shown there before - exactly where is your RemoveExistingProducts sequenced? Phil Wilson -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Thursday, May 14, 2009 8:03 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use I changed to a single ServiceControl element and it still failed. I was wondering whether I am doing this right, I am modifying the new install but I was wondering if the problem is the original install that is being replaced - does anyone know which install is throwing up the File in use dialog? Neil -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 12 May 2009 18:18 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use I am using MSIRESTARTMANAGERCONTROL=Disable which according to the docs Disables interaction of the package with the Restart Manager. Windows Installer uses the FilesInUse Dialog. - I am suspecting that it might mean that is disable use of MsiRMFilesInUse not the Restart Manager. The Wait value is 1 (yes) ServiceControl Id=StopZzzService Name=zzzSvc Stop=both Remove=uninstall Wait=yes / I wonder if this is relevant, I have 2 ServiceControl entries for each service because I only want to wait for stop not start. I will try removing one and see what happens. Neil -Original Message- From: Wilson, Phil [mailto:phil.wil...@wonderware.com] Sent: 12 May 2009 17:42 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use Some settings of MSIRESTARTMANAGERCONTROL disable the MsiRMFilesInUse dialog, the docs are clear on that, and don't turn off the entire files-in-use detection. Did you use Disable or DisableShutdown? What's the Wait value in your ServiceControl element? I'd expect to see a log entry saying that the service will be stopped due to a service control action before the files are updated, and I'm wondering if it wants the Wait value to wait for the service to stop, otherwise the service process might still be running when its files need updating. Phil Wilson -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesday, May 12, 2009 9:03 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use Even with it disabled I still think it is used. From the log: MSI (s) (AC:38) [16:52:55:648]: RESTART MANAGER: Disabled by MSIRESTARTMANAGERCONTROL property; Windows Installer will use the built-in FilesInUse functionality. Then a bit later: MSI (s) (AC:D4) [16:53:05:170]: RESTART MANAGER: Detected that application with id 3092, friendly name 'zzz Service', service short name 'zzzSvc', of type RmService and status 1 holds file[s] in use. Neil -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 12 May 2009 16:35 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use I disabled restart manager in 2 ways, with the property MSIRESTARTMANAGERCONTROL set to Disable and by removing the MsiRMFilesInUse dialog but I still get the FileInUse dialog. I think that means it is not directly attributable to restart manager. I did find a KB article that said that WI 4.5 fixed a file in use problem with case sensitivity of service names but I am using 4.5 on both systems (and 5.0 on Windows 7). I am not sure where to go from here, any help much appreciated. Neil -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: 12 May 2009 16:11 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use The difference between Vista and XP is the RestartManager. IIRC, there are a few things you can do to suppress the RestartManager usage via MSIRM type properties... that might get you closer. Neil Sleightholm wrote: When I run a major upgrade install on Windows Vista or later the files in use (or restart manager) dialog is displayed for the two services I am installing, this doesn't happen on Windows XP (Windows Installer v4.5). The services are controlled by the ServiceControl element and listed in the ServiceControl table. The dialog isn't needed as the services are stopped by the install but only after the InstallValidate action. I thought of moving the StopServices action but that can't be moved before InstallValidate which is where it would need to go. Does anyone know why this is happening? Is there any way to stop this dialog being displayed for services on Vista? Thanks Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com mailto:n...@x2systems.com
Re: [WiX-users] Trying to remove features from list of features that can be installed
I have put conditions on the feature, but the problem is that the deciding variable is taken from input from a custom action that checks entitlements for each feature. This has to be done after the user enters a valid URL to login to (and possibly a username/password if the first attempt fails). This means that the variables that set features to be removed aren't set until the UI sequence, way after the CostFinalize phase, which is where I read that the feature set is composed. If I could reset the feature set during the UI, that would be what I need... -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Thursday, May 14, 2009 1:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Trying to remove features from list of features that can be installed Not sure, but it sounds like you want to Condition the Feature. David Bartmess wrote: I found that the Publish event AddLocal and Remove can set the feature to install or not to install, but it doesn't completely remove the feature from the list of features. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Trying to remove features from list of features that can be installed
Yeah, makes sense. Bummer. David Bartmess wrote: I have put conditions on the feature, but the problem is that the deciding variable is taken from input from a custom action that checks entitlements for each feature. This has to be done after the user enters a valid URL to login to (and possibly a username/password if the first attempt fails). This means that the variables that set features to be removed aren't set until the UI sequence, way after the CostFinalize phase, which is where I read that the feature set is composed. If I could reset the feature set during the UI, that would be what I need... -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Thursday, May 14, 2009 1:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Trying to remove features from list of features that can be installed Not sure, but it sounds like you want to Condition the Feature. David Bartmess wrote: I found that the Publish event AddLocal and Remove can set the feature to install or not to install, but it doesn't completely remove the feature from the list of features. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX/MSI and CeAppMgr.exe (WinCe Application Manager)
Hi there, as part of my WiX 3 setup the CeAppMgr.exe is looked up and executed. This application is used to install software on windows CE devices (like Windows Mobile 5/6, etc.). To do so one has to call CeAppMgr.exe with an ini file and the user should get the information that software is beeing installed on his or her mobile device. If I try this on the command line everything works fine. CeAppMgr.exe starts and begins to install the prvided ini (and thus the CAB-) file. The same done in WiX/MSI leads to a message box, coming from CeAppMgr.exe, that the sofware (the ini/cab) will be installed as soon as my mobile device gets connected again. The strange thing is: In both versions (command line and MSI) the mobile device is connected all the time. So, have you previously encountered this problem or have an idea what is going on? I want that CeAppMgr.exe behaves, when called from a MSI, execatly like when it is called from the command line. In WiX the relevant parts are (ignore the custom action conditions): !--CeAppMgr.Exe Lookup-- Property Id='SEARCH_CEAPPMGR' RegistrySearch Id=CeAppMgrSearch32 Root=HKLM Type=raw Key=Software\Microsoft\Windows\CurrentVersion\App Paths\CEAPPMGR.EXE Win64=no/ /Property !-- define the LaunchCeAppMgr_Install-Custom action -- CustomAction Id='LaunchCeAppMgr_Install' Property='SEARCH_CEAPPMGR' ExeCommand='[CESetupFolder]PDAAufmaß.ini' Return='ignore' Impersonate='no' Execute='deferred' / !-- Schedule the custom actions-- InstallExecuteSequence !-- launch CeAppMgr.exe install only when we make an installation but not when we remove the product -- Custom Action='LaunchCeAppMgr_Install' Sequence='4400'![CDATA[PDAFeature=3 Or PDAFeature=4]]/Custom !-- launch CeAppMgr.exe without ini parameter only when we remove the product -- Custom Action='LaunchCeAppMgr_Deinstall' Sequence='4401'![CDATA[PDAFeature=2]]/Custom /InstallExecuteSequence Is there anything wrong? Regards, thanks in advance, Tom -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX/MSI and CeAppMgr.exe (WinCe Application Manager)
Well, your custom action is deferred, no-impersonate, which means that it will be run under Local System credentials. Local System, albeit very powerful, has some limitations, like no access to network, etc. You can try to set Impersonate=yes. Alex -Original Message- From: Tom Kazimiers [mailto:2voo...@gmx.de] Sent: Thursday, May 14, 2009 1:07 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] WiX/MSI and CeAppMgr.exe (WinCe Application Manager) Hi there, as part of my WiX 3 setup the CeAppMgr.exe is looked up and executed. This application is used to install software on windows CE devices (like Windows Mobile 5/6, etc.). To do so one has to call CeAppMgr.exe with an ini file and the user should get the information that software is beeing installed on his or her mobile device. If I try this on the command line everything works fine. CeAppMgr.exe starts and begins to install the prvided ini (and thus the CAB-) file. The same done in WiX/MSI leads to a message box, coming from CeAppMgr.exe, that the sofware (the ini/cab) will be installed as soon as my mobile device gets connected again. The strange thing is: In both versions (command line and MSI) the mobile device is connected all the time. So, have you previously encountered this problem or have an idea what is going on? I want that CeAppMgr.exe behaves, when called from a MSI, execatly like when it is called from the command line. In WiX the relevant parts are (ignore the custom action conditions): !--CeAppMgr.Exe Lookup-- Property Id='SEARCH_CEAPPMGR' RegistrySearch Id=CeAppMgrSearch32 Root=HKLM Type=raw Key=Software\Microsoft\Windows\CurrentVersion\App Paths\CEAPPMGR.EXE Win64=no/ /Property !-- define the LaunchCeAppMgr_Install-Custom action -- CustomAction Id='LaunchCeAppMgr_Install' Property='SEARCH_CEAPPMGR' ExeCommand='[CESetupFolder]PDAAufmaß.ini' Return='ignore' Impersonate='no' Execute='deferred' / !-- Schedule the custom actions-- InstallExecuteSequence !-- launch CeAppMgr.exe install only when we make an installation but not when we remove the product -- Custom Action='LaunchCeAppMgr_Install' Sequence='4400'![CDATA[PDAFeature=3 Or PDAFeature=4]]/Custom !-- launch CeAppMgr.exe without ini parameter only when we remove the product -- Custom Action='LaunchCeAppMgr_Deinstall' Sequence='4401'![CDATA[PDAFeature=2]]/Custom /InstallExecuteSequence Is there anything wrong? Regards, thanks in advance, Tom -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Files in use
My RemoveExistingProducts is scheduled after InstallValidate and I see the FilesInUse in InstallValidate. Neil -Original Message- From: Wilson, Phil [mailto:phil.wil...@wonderware.com] Sent: 14 May 2009 20:47 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use If you have an MSI log for the upgrade, I think the log will show the FilesInUse around the InstallValidate action that's in the RemoveExistingProducts section of the log where the old version is being uninstalled if it's the uninstall. I think I've seen FilesInUse being shown there before - exactly where is your RemoveExistingProducts sequenced? Phil Wilson -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Thursday, May 14, 2009 8:03 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use I changed to a single ServiceControl element and it still failed. I was wondering whether I am doing this right, I am modifying the new install but I was wondering if the problem is the original install that is being replaced - does anyone know which install is throwing up the File in use dialog? Neil -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 12 May 2009 18:18 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use I am using MSIRESTARTMANAGERCONTROL=Disable which according to the docs Disables interaction of the package with the Restart Manager. Windows Installer uses the FilesInUse Dialog. - I am suspecting that it might mean that is disable use of MsiRMFilesInUse not the Restart Manager. The Wait value is 1 (yes) ServiceControl Id=StopZzzService Name=zzzSvc Stop=both Remove=uninstall Wait=yes / I wonder if this is relevant, I have 2 ServiceControl entries for each service because I only want to wait for stop not start. I will try removing one and see what happens. Neil -Original Message- From: Wilson, Phil [mailto:phil.wil...@wonderware.com] Sent: 12 May 2009 17:42 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use Some settings of MSIRESTARTMANAGERCONTROL disable the MsiRMFilesInUse dialog, the docs are clear on that, and don't turn off the entire files-in-use detection. Did you use Disable or DisableShutdown? What's the Wait value in your ServiceControl element? I'd expect to see a log entry saying that the service will be stopped due to a service control action before the files are updated, and I'm wondering if it wants the Wait value to wait for the service to stop, otherwise the service process might still be running when its files need updating. Phil Wilson -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesday, May 12, 2009 9:03 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use Even with it disabled I still think it is used. From the log: MSI (s) (AC:38) [16:52:55:648]: RESTART MANAGER: Disabled by MSIRESTARTMANAGERCONTROL property; Windows Installer will use the built-in FilesInUse functionality. Then a bit later: MSI (s) (AC:D4) [16:53:05:170]: RESTART MANAGER: Detected that application with id 3092, friendly name 'zzz Service', service short name 'zzzSvc', of type RmService and status 1 holds file[s] in use. Neil -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 12 May 2009 16:35 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use I disabled restart manager in 2 ways, with the property MSIRESTARTMANAGERCONTROL set to Disable and by removing the MsiRMFilesInUse dialog but I still get the FileInUse dialog. I think that means it is not directly attributable to restart manager. I did find a KB article that said that WI 4.5 fixed a file in use problem with case sensitivity of service names but I am using 4.5 on both systems (and 5.0 on Windows 7). I am not sure where to go from here, any help much appreciated. Neil -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: 12 May 2009 16:11 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use The difference between Vista and XP is the RestartManager. IIRC, there are a few things you can do to suppress the RestartManager usage via MSIRM type properties... that might get you closer. Neil Sleightholm wrote: When I run a major upgrade install on Windows Vista or later the files in use (or restart manager) dialog is displayed for the two services I am installing, this doesn't happen on Windows XP (Windows Installer v4.5). The services are controlled by the ServiceControl element and listed in the ServiceControl table. The dialog isn't needed as the services are stopped by the install but only after the InstallValidate action. I thought of moving the StopServices action
Re: [WiX-users] Custom MergeModules
Hey James, That issue can be resolved by adding, under your main Directory block, a Directory Id=SystemFolder/. See if the below works for you. Basically the [SystemFolder] is referencing a property which is a directory. If your main directory block doesn't have it, then you will see that error. Directory Id=TARGETDIR Name=SourceDir Directory Id=SystemFolder / /Directory Hope that helps, Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Thu, May 14, 2009 at 1:21 PM, MacDiarmid, James D james.macdiar...@eds.com wrote: Hi Brian, Ok.. Thanks for the info. I guess I'm still unclear or was unclear on how I should be building my installer. I'm still flying blind where as I'm trying different things to see what works best. I was using WixAware, and now that I've pulled away from that I'm finding that there are a lot of changes due to out dated keywords and all. Oh, Heat wasn't giving me the error. That part was fine. It wasn't until I copied the component block of code out of the fragment that Heat generated, into the directory section of my merge module. I was getting the error during the rebuild and it was hiccuping on the SystemFolder value for the HelpDirectory keyword in the registry information for the file I was adding to the componient. Jim -Original Message- From: Brian Rogers [mailto:rogers.br...@gmail.com] Sent: Thursday, May 14, 2009 3:13 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom MergeModules Hey Jim, In general merge modules should be avoided. Unless you have clients of your product which will be integrating your merge module it is better to use .wixlib files internally to allow for shared components across multiple packages. What error are you getting in heat? Thanks, Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Thu, May 14, 2009 at 10:30 AM, MacDiarmid, James D james.macdiar...@eds.com wrote: Should I be registering COMPlus/Non-ComPlus DLLs in a custom merge module? When I use Heat to extract the registry settings, and add them to the respective component, an error is caught on the setting for HelpDirectory parameter. It's set using the SystemFolder keyword. Jim MacDiarmid EDS, an HP company U.S. Public Sector Department of Homeland Security Segment 703-236-3821(office) 571-247-2343(cell) -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Trying to remove features from list of features that can be installed
I saw in an article that someone had made a call to CostFinalize in a vbscript custom action. Does any know how to do that? I'm not a vbscript guru by any means, but if I could call this on a DoAction on a button, it should reset the feature levels like I want to do. Thanks! -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Thursday, May 14, 2009 2:03 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Trying to remove features from list of features that can be installed Yeah, makes sense. Bummer. David Bartmess wrote: I have put conditions on the feature, but the problem is that the deciding variable is taken from input from a custom action that checks entitlements for each feature. This has to be done after the user enters a valid URL to login to (and possibly a username/password if the first attempt fails). This means that the variables that set features to be removed aren't set until the UI sequence, way after the CostFinalize phase, which is where I read that the feature set is composed. If I could reset the feature set during the UI, that would be what I need... -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Thursday, May 14, 2009 1:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Trying to remove features from list of features that can be installed Not sure, but it sounds like you want to Condition the Feature. David Bartmess wrote: I found that the Publish event AddLocal and Remove can set the feature to install or not to install, but it doesn't completely remove the feature from the list of features. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two Entries in Add or Remove Programs
Chuck schrieb: Success! Alex Shevchuk wrote: OK, here is the problem. Upgrade/@Id must have the same value as Product/@UpgradeCode. Thank you, Alex. That was the problem. FindRelatedProducts is working and only one entry exists in the Add or Remove Programs table after the installation of the new version. Now, along with Do not change the Product UpgradeCode, I have Verify that the Product UpgradeCode is identical to the Upgrade ID in my upgrade checklist. I guess that this is a common newbie error, I'm new to Wix too and I made the same mistake a few days ago. I costed me about an hour to figure it out and my template for new scripts now includes defines for the UpgradeCode and some other values: !-- The upgrade code (must be the same for Product UpgradeCode / and Upgrade Id / The upgrade code must not be changed during the life cycle of the product! Otherwise the Installer will add an additional entry into Add/Remove Software -- ?define UpgradeCode=YOUR-GUID-HERE? ... and Product Id=$(var.ProductCode) Name=$(var.ProductName) Language=$(var.ProductLanguage) Version=$(var.ProductVersion) Manufacturer=$(var.Manufacturer) UpgradeCode=$(var.UpgradeCode) ... Upgrade Id=$(var.UpgradeCode) ... That way I hopefully don't make the same mistake twice (building an installer is not really my every day business) BTW: Is there anything like a tutorial about building Managed Custom Actions with the DTF? Or some real life examples? Regards, Ingo -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Where can I find a list of events for subscribe action?
I'm trying to write my own feature selection dialog, and can't find the list of events that can be used through the subscribe element. Can anyone point me to a doc or web URL that lists these? Google has been worthless, and it may be because it doesn't exist... David Bartmess Wall Street On Demand -- 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
Re: [WiX-users] Certificates and IIS
Rob, Thanks for pointing me in the right direction on this. I did not even know that wix.chm existed (I have only been using wix since February). With that I was able to get it working. Thanks again and thanks for making Wix happen. I love it! Stephen Here is my Example for those who may follow after: Under my website: iis:Certificate Id=MyCert Name=MyCertName StoreName=root StoreLocation=localMachine BinaryKey=Certificate.Binary / Under Project: Binary Id=Certificate.Binary SourceFile=$(var.CertificatePath) / $(var.CertificatePath) is a setup to point to my .cer file. -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Thursday, May 14, 2009 10:53 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Certificates and IIS I don't think the current CustomActions let you reference an installed certificate. However, you can just add the Certificate element under your Component and reference it by your WebSite and it should work. The WiX.chm reference should have the bits and pieces to put it together since I don't have an example ready. Schaff, Stephen wrote: I have a wix project that creates a website. The certificate that that website uses is already be present on the machine being installed to. Is there a way to make the installer associate the website with the existing installer? (I can do this step manually, but I would rather have the installer do it). Failing that, is there somewhere I can see a good example of how to install a certificate. (for someone who does not know much about certificates.) I can see the certificate (when I click View Certificate in IIS) and I have access to the .cer file. Can I get enough info from that to install the certificate? Stephen - -- The information transmitted by this e-mail and any included attachments are from ARUP Laboratories and are intended only for the recipient. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws, or protected health information and is intended only for the use of the recipient. Unauthorized forwarding, printing, copying, distributing, or use of such information is strictly prohibited and may be unlawful. If you are not the intended recipient, please promptly delete this e-mail and notify the sender of the delivery error or you may call ARUP Laboratories Compliance Hot Line in Salt Lake City, Utah USA at (+1 (800) 522-2787 ext. 2100 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - -- The information transmitted by this e-mail and any included attachments are from ARUP Laboratories and are intended only for the recipient. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws, or protected health information and is intended only for the use of the recipient. Unauthorized forwarding, printing, copying, distributing, or use of such information is strictly prohibited and may be unlawful. If you are not the intended recipient, please promptly delete this e-mail and notify the sender of the delivery error or you may call ARUP Laboratories Compliance Hot Line in Salt Lake City, Utah USA at (+1 (800) 522-2787 ext. 2100 -- 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.
Re: [WiX-users] How to set control disabled/enabled on checkbox action?
I'm not a UI expert, but I've seen it said here that UI controls on a dialog cannot modify the state of other controls in a dialog until you refresh the dialog (Back/Next). Archives might prove that true. David Bartmess wrote: I have a series of checkboxes that depend on each other, such as cbA is checked, then enable cbB, which enables cbC. How can I check within the dialog that a checkbox has been checked/unchecked and modify the other checkboxes as needed? I can't use featureselection control, because I have to hide certain features from being seen through a UI created variable... Thanks! David Bartmess Wall Street On Demand david.bartm...@wallst.commailto:david.bartm...@wallst.com direct: 303.417. x585 cell: 303.883-9117 fax: 303.444.2586 -- 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