[WiX-users] Bootstrapper of .NET Framework 3.5 SP1
Hi, Is there bootstrapper available for .net 3.5 SP1 Thanks, Rahul Ekbote Senior Software Engineer * SunGard * ALM * Bacware * SunGard Technology Services (India), Meridian Plaza, S B Road, Shivajinagar, Pune 411016. Direct Tel +91-20-25606237 * Main Tel +91-20-30238000 * Fax +91-20-25606222 * rahul.ekb...@sungard.com mailto:rahul.ekb...@sos.sungard.com * www.sungard.com http://www.sungard.com/bancware /bancware P Think before you print CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you receive this e-mail in error, please notify the sender and delete this e-mail from your system. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Satellite assemblies
Hello, I've completed my first WiX v3 project for English and Japanese, which went pretty well, and started my second one. In the first project, WiX automatically included all necessary satellite assemblies, but this time, it doesn't. I compared .wixproj, Product.wxs, en-us.wxl, and ja-jp.wxl of the two projects but can't find what's causing the differences. The second proejct's exe did not have [assembly: NeutralResourcesLanguage( en-US, UltimateResourceFallbackLocation.MainAssembly)] so I added that but it didn't help. The two projects refer one same shared project, and the satellite assembly of the project is included in the MSI in the first one, but not in the second one, so I'm guessing the cause is in my .wxs, not in the project settings. I looked into the documents without luck. I was using WiX v3 RC1 for the first project, and RC2 for the second, but re-building the first one using RC2 went well; i.e., included satellite assemblies automatically. Could someone please shed lights on why this difference occurs, or how WiX determines whether to include satellite assemblies automatically or not? Thank you for your advice in advance. Regards, Koji Ishii -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] VC++ redistributable
Hi, In our project we want to run VC++ redistributable file. However when I runs this .exe from my installer using custom action for this I gets error another installer is running. It means we can not call any other installer from our .msi file Is there any other way to install vc++ redistributable file and .net framework sp1 installer through our .msi installler Thanks, Rahul Ekbote -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] VC++ redistributable
Hi Is there any other way to install vc++ redistributable file and .net framework sp1 installer through our .msi installler You can use the merge modules provided by MS for the vc++ redistributables. Here is what I use for this in WiX: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Fragment DirectoryRef Id=TARGETDIR Merge Id=Atl Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\microsoft_vc80_atl_x86.msm DiskId=1 / Merge Id=Crt Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\microsoft_vc80_crt_x86.msm DiskId=1 / Merge Id=Mfc Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\microsoft_vc80_mfc_x86.msm DiskId=1 / Merge Id=AtlPolicy Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_atl_x86.msm DiskId=1 / Merge Id=CrtPolicy Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_crt_x86.msm DiskId=1 / Merge Id=MfcPolicy Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_mfc_x86.msm DiskId=1 / /DirectoryRef FeatureGroup Id=MicrosoftRedistributables MergeRef Id=Atl / MergeRef Id=Crt / MergeRef Id=Mfc / MergeRef Id=AtlPolicy / MergeRef Id=CrtPolicy / MergeRef Id=MfcPolicy / /FeatureGroup /Fragment /Wix Hope this helps. Can't help you with the .Net part, though. Best regards, 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. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] VC++ redistributable
Using the bootstrapper worked for me. http://wix.sourceforge.net/manual-wix3/install_dotnet.htm I use bootstrapper to install VC++ redistributable as well. Note that, even though I mentioned to run setup.exe rather than msi in my document, a lot of users tried to install by double-clicking msi. I would recommend that: * Implement blocking logic to msi even if you built a bootstrapper. * Use your creativity to name the msi file so that users don't think it is the file to double-click. I was using my product name.msi, and from my experience, this is bad. 2009/5/28 Kim Gybels kim.gyb...@metris.com: Hi Is there any other way to install vc++ redistributable file and .net framework sp1 installer through our .msi installler You can use the merge modules provided by MS for the vc++ redistributables. Here is what I use for this in WiX: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Fragment DirectoryRef Id=TARGETDIR Merge Id=Atl Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\microsoft_vc80_atl_x86.msm DiskId=1 / Merge Id=Crt Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\microsoft_vc80_crt_x86.msm DiskId=1 / Merge Id=Mfc Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\microsoft_vc80_mfc_x86.msm DiskId=1 / Merge Id=AtlPolicy Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_atl_x86.msm DiskId=1 / Merge Id=CrtPolicy Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_crt_x86.msm DiskId=1 / Merge Id=MfcPolicy Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_mfc_x86.msm DiskId=1 / /DirectoryRef FeatureGroup Id=MicrosoftRedistributables MergeRef Id=Atl / MergeRef Id=Crt / MergeRef Id=Mfc / MergeRef Id=AtlPolicy / MergeRef Id=CrtPolicy / MergeRef Id=MfcPolicy / /FeatureGroup /Fragment /Wix Hope this helps. Can't help you with the .Net part, though. Best regards, 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. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] VC++ redistributable
Hi, http://wix.sourceforge.net/manual-wix3/install_dotnet.htm. This is for .NET framework 3.5 and not for .NET framework 3.5 SP1. Is there anything for .NET framework 3.5 SP1. Is there any difference between running .msi and .exe Can I run any other .msi or .exe installation file from our installation? Thanks, Rahul. -Original Message- From: Koji Ishii [mailto:kojii...@gmail.com] Sent: Thursday, May 28, 2009 3:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] VC++ redistributable Using the bootstrapper worked for me. http://wix.sourceforge.net/manual-wix3/install_dotnet.htm I use bootstrapper to install VC++ redistributable as well. Note that, even though I mentioned to run setup.exe rather than msi in my document, a lot of users tried to install by double-clicking msi. I would recommend that: * Implement blocking logic to msi even if you built a bootstrapper. * Use your creativity to name the msi file so that users don't think it is the file to double-click. I was using my product name.msi, and from my experience, this is bad. 2009/5/28 Kim Gybels kim.gyb...@metris.com: Hi Is there any other way to install vc++ redistributable file and .net framework sp1 installer through our .msi installler You can use the merge modules provided by MS for the vc++ redistributables. Here is what I use for this in WiX: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Fragment DirectoryRef Id=TARGETDIR Merge Id=Atl Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\microsoft_vc80_atl_x86.msm DiskId=1 / Merge Id=Crt Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\microsoft_vc80_crt_x86.msm DiskId=1 / Merge Id=Mfc Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\microsoft_vc80_mfc_x86.msm DiskId=1 / Merge Id=AtlPolicy Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_atl_x86.msm DiskId=1 / Merge Id=CrtPolicy Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_crt_x86.msm DiskId=1 / Merge Id=MfcPolicy Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_mfc_x86.msm DiskId=1 / /DirectoryRef FeatureGroup Id=MicrosoftRedistributables MergeRef Id=Atl / MergeRef Id=Crt / MergeRef Id=Mfc / MergeRef Id=AtlPolicy / MergeRef Id=CrtPolicy / MergeRef Id=MfcPolicy / /FeatureGroup /Fragment /Wix Hope this helps. Can't help you with the .Net part, though. Best regards, 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. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Small size limit on .wixout files storing Media (2GB?)
Hi, When Building .wixout's for large installations and with the -df (Bind files) switch set, Light fails with the following message: light.exe : error LGHT0296 : An error (E_FAIL) was returned while adding files to a CAB file. This most commonly happens when creating a CAB file 2 GB or larger. Either reduce the size of your installation package, raise Media/@CompressionLevel to a higher compression level, or split your installation package's files into more than one CAB file. I infer from this message, that wixout's store media internally in one .cab, without regard to the cabing arrangements in the target installation. Is this true? Incidentally, this .wixout can be built if the -bf flag is not set, and an msi can then be built from the .wixout. I mention this to rule out actual .cab file sizing errors. Should I raise a bug, for this or is there a reason for this behaviour? Regards Martin Lavelle _ Hotmail® goes with you. http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009 -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] VC++ redistributable
Bootstrapper is a Windows SDK feature, not a WiX feature. Look at: C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages on your hard drive. If you have VS2008 SP1, there should be a directory named DotNetFX35SP1. Open product.xml in the directory, and you will see: ProductCode=Microsoft.Net.Framework.3.5.SP1 Use this string instead, and you're done. You should also see directories like vcredist_x86 or vcredist_x64. They're for the VC runtime. There're some documents in MSDN for how to write your own product.xml for the bootstrapper. It wasn't very verbose as I saw last time, but it should help you to write your own packages if you need to run other setup packages before your MSI runs. Hope this helps. 2009/5/28 rahul.ekb...@sungard.com: Hi, http://wix.sourceforge.net/manual-wix3/install_dotnet.htm. This is for .NET framework 3.5 and not for .NET framework 3.5 SP1. Is there anything for .NET framework 3.5 SP1. Is there any difference between running .msi and .exe Can I run any other .msi or .exe installation file from our installation? Thanks, Rahul. -Original Message- From: Koji Ishii [mailto:kojii...@gmail.com] Sent: Thursday, May 28, 2009 3:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] VC++ redistributable Using the bootstrapper worked for me. http://wix.sourceforge.net/manual-wix3/install_dotnet.htm I use bootstrapper to install VC++ redistributable as well. Note that, even though I mentioned to run setup.exe rather than msi in my document, a lot of users tried to install by double-clicking msi. I would recommend that: * Implement blocking logic to msi even if you built a bootstrapper. * Use your creativity to name the msi file so that users don't think it is the file to double-click. I was using my product name.msi, and from my experience, this is bad. 2009/5/28 Kim Gybels kim.gyb...@metris.com: Hi Is there any other way to install vc++ redistributable file and .net framework sp1 installer through our .msi installler You can use the merge modules provided by MS for the vc++ redistributables. Here is what I use for this in WiX: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Fragment DirectoryRef Id=TARGETDIR Merge Id=Atl Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\microsoft_vc80_atl_x86.msm DiskId=1 / Merge Id=Crt Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\microsoft_vc80_crt_x86.msm DiskId=1 / Merge Id=Mfc Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\microsoft_vc80_mfc_x86.msm DiskId=1 / Merge Id=AtlPolicy Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_atl_x86.msm DiskId=1 / Merge Id=CrtPolicy Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_crt_x86.msm DiskId=1 / Merge Id=MfcPolicy Language=0 SourceFile=C:\Program Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_mfc_x86.msm DiskId=1 / /DirectoryRef FeatureGroup Id=MicrosoftRedistributables MergeRef Id=Atl / MergeRef Id=Crt / MergeRef Id=Mfc / MergeRef Id=AtlPolicy / MergeRef Id=CrtPolicy / MergeRef Id=MfcPolicy / /FeatureGroup /Fragment /Wix Hope this helps. Can't help you with the .Net part, though. Best regards, 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. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship.
[WiX-users] How can I get the log filename specified in /log option in msiexec commandline?
I need exactly filename in CA, I don't want to write file -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Can't find property for current user's home directory
Thanks for the reply. I had already looked in MSDN before posting. I found the link: http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx. As far as I can tell this is the full list of properties for Windows Installer. Is this the list you are talking about? There is nothing in this list that references the user's home folder. I agree, I wouldn't normally want to deal directly with this folder, but I'm integrating with a 3rd party package, and that package has a .ini file in that folder. I need to tell my installer to add some lines to that .ini file. I can't update that file if I don't have a way to refer to that folder. Any ideas on how I would do this? Seems to me that the installer for the 3rd party software was able to do this. There's got to be a way to get at this folder. Bruce All of the built in MSI properties are documented in the MSI SDK. Look for the Property Reference topic. -- View this message in context: http://n2.nabble.com/Can%27t-find-property-for-current-user%27s-home-directory-tp2983983p2987214.html Sent from the wix-users mailing list archive at Nabble.com. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Publish order
That's exactly what I want, the dialog is just a continue or cancel popup If the user clicks continue the install goes forward, if they select cancel the wizard exits. Its not a wizard page. Thanks, George -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Wednesday, May 27, 2009 9:34 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Publish order Cranshaw, George wrote: I have the following dialog logs defined, just a modified MyWelcomeEulaDlg: I'd suggest adding a dialog before the one that kicks off installs; SpawnDialog should really be used only for confirmation type popup dialogs. -- sig://boB http://joyofsetup.com/ -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email is from the Invensys Process Systems business unit of the Invensys Group, a group of companies owned by Invensys plc, which is a company registered in England and Wales with its registered office at Portland House, Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WIX password Dialog during Uninstall Only
Requirement: I am using the silient installtion for my MSI. During activation of the msi we pass properties to the msi including user name and password. Client requirement is that during uninstall he should be uninstalling from AR programs only. In this Msi requires the password. I am able to store the username in Registry and my msi will retrieve it. How to proceed with password value. I though of solution of asking user to enter the password as soon as he clicks the Remove Button in ARP. Can this be possible with out effecting the Install. In sense, During install it will be silent install and during uninstall it will be showing only the Dialog for password. Please direct me to appropriate points also. Thanks Sudheer -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Passing Property into MergeModule
I've also never seen any solid instructions or advice on how to use a configurable merge module. No one seems to actually know how. Chris On Wed, May 27, 2009 at 10:21 PM, Rob Mensching r...@wixtoolset.org wrote: The Merge Module would need to have a public Property and you'd have to refer to it with its modularized Id in your MSI. Or you could use Configurable Merge Modules but they are usually more complicated than worth the effort. Shree Krishnamurthi wrote: Hi I would like to pass a property from my master setup (ie msi ) to one of the merge modules. Is it possible? Can someone explain how this can be done? Thanks Shree -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Passing Property into MergeModule
We do this for our merge modules : In the MSI xml, set up PropertyName with the value you want to pass : Merge Id=MyMergeModule.GUIDHERE_4857_92DF_E3ED_411836DFE2BC DiskId=1 Language=0 SourceFile=MyMergeModule.msm ConfigurationData Name=MyName Value=[PropertyName] / /Merge In the merge module xml Configuration Name=MyName Format=Text Type=Property DisplayName=MyName Description=The name ContextData=SetupParameters DefaultValue=Fred / You can then use MyName to access the value of PropertyName passed through from the installer. This is for text. Change Format and Type to pass e.g. a directory name or a number. I believe this to be an example of configurable merge modules. 2009/5/28 Shree Krishnamurthi shree.krishnamur...@proximex.com: Hi I would like to pass a property from my master setup (ie msi ) to one of the merge modules. Is it possible? Can someone explain how this can be done? Thanks Shree -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Passing Property into MergeModule
Hi, I had a go at configurable merge modules a while back from another mailing list post, but never needed to use them as I converted the dependent MSM to a wixlib. I think I got this to work, it passes the DBNAME property to the merge module. Add to a merge module wix file. Configuration Name=DBNAME_Property Format=Text NonNullable=yes DefaultValue=defaultValue / Property Id=DBNAME Value=unset /Property Substitution Table=CustomAction Row=setdbname Column=Target Value=[=DBNAME_Property] / CustomAction Property=DBNAME Value=[DBNAME] Id=setdbname Execute=immediate / InstallExecuteSequence Custom Action=setdbname After=LaunchConditions / /InstallExecuteSequence add to the calling wix Property Id=DBNAME Value=toplevelunset / Merge Id=blob DiskId=1 Language=1033 SourceFile=..\mergey\mergey.msm ConfigurationData Name=DBNAME_Property Value=[DBNAME] / /Merge Dave W. -Original Message- From: Christopher Karper [mailto:christopher.kar...@gmail.com] Sent: 28 May 2009 14:29 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Passing Property into MergeModule I've also never seen any solid instructions or advice on how to use a configurable merge module. No one seems to actually know how. Chris On Wed, May 27, 2009 at 10:21 PM, Rob Mensching r...@wixtoolset.org wrote: The Merge Module would need to have a public Property and you'd have to refer to it with its modularized Id in your MSI. Or you could use Configurable Merge Modules but they are usually more complicated than worth the effort. Shree Krishnamurthi wrote: Hi I would like to pass a property from my master setup (ie msi ) to one of the merge modules. Is it possible? Can someone explain how this can be done? Thanks Shree -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Passing Property into MergeModule
Thank you for that. How do you use MyName though, do you use it as if it were a property from within the merge module? Chris On Thu, May 28, 2009 at 10:20 AM, Antony Walmsley antony.sourcefo...@gmail.com wrote: We do this for our merge modules : In the MSI xml, set up PropertyName with the value you want to pass : Merge Id=MyMergeModule.GUIDHERE_4857_92DF_E3ED_411836DFE2BC DiskId=1 Language=0 SourceFile=MyMergeModule.msm ConfigurationData Name=MyName Value=[PropertyName] / /Merge In the merge module xml Configuration Name=MyName Format=Text Type=Property DisplayName=MyName Description=The name ContextData=SetupParameters DefaultValue=Fred / You can then use MyName to access the value of PropertyName passed through from the installer. This is for text. Change Format and Type to pass e.g. a directory name or a number. I believe this to be an example of configurable merge modules. 2009/5/28 Shree Krishnamurthi shree.krishnamur...@proximex.com: Hi I would like to pass a property from my master setup (ie msi ) to one of the merge modules. Is it possible? Can someone explain how this can be done? Thanks Shree -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Long CAB file name
I will err on the safe side and use short names :) I have a scenario where it makes sense to base the CAB file names on ComponentGroup IDs. Now I use an algorithm to generate these names from the long ComponentGroup IDs which is similar to the one WiX uses to generate short file names... Bob Arnson-6 wrote: zett42 wrote: I get a warning from Candle about my CAB file names not following 8.3 format. Check the MSI SDK: it says cabinets must be 8.3 name. -- sig://boB http://joyofsetup.com/ -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-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/Long-CAB-file-name-tp2981992p2988047.html Sent from the wix-users mailing list archive at Nabble.com. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Result of deferred custom action
I swear we already had this conversation. There are a couple functions in wcautil.lib (I forget the names, but they have Script in them I think) that can help do this. However, I highly recommend avoiding them. There are a lot of little things you have to do to use them correctly and they are painful. The Windows Installer didn't intend to have data passed between deferred CustomActions because you're supposed to pass data down from an immediate CA. Alex Ivanoff wrote: So, how do I communicate between deferred custom actions? -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Wednesday, May 27, 2009 21:26 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Result of deferred custom action Not without communicating between deferred CustomActions which is definitely not recommended unless there is no other option. What I described below is the way I would expect things to work based on my reading of the MSI SDK. Alex Ivanoff wrote: I think I could, but it may require more coding. So I take it there is no other way? -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Wednesday, May 27, 2009 13:54 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Result of deferred custom action Can you generate the certificate in an immediate mode then pass the certificate and the serial number down to deferred custom actions that actually write to disk? Alex Ivanoff wrote: Anyone? Or am I doing something stupid? -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: Monday, May 25, 2009 14:57 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Result of deferred custom action I have a deferred custom action that generates a certificate. Once certificate is generated I need to store its serial number in configuration file. From what I understand about deferred custom actions I have to write code to update configuration file. Or can I use XmlConfig? -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity,
Re: [WiX-users] Bootstrapper of .NET Framework 3.5 SP1
There are many. Unfortunately, nothing that great in the WiX toolset yet... ours is coming in WiX v3.5. rahul.ekb...@sungard.com wrote: Hi, Is there bootstrapper available for .net 3.5 SP1 Thanks, Rahul Ekbote Senior Software Engineer * SunGard * ALM * Bacware * SunGard Technology Services (India), Meridian Plaza, S B Road, Shivajinagar, Pune 411016. Direct Tel +91-20-25606237 * Main Tel +91-20-30238000 * Fax +91-20-25606222 * rahul.ekb...@sungard.com mailto:rahul.ekb...@sos.sungard.com * www.sungard.com http://www.sungard.com/bancware /bancware P Think before you print CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you receive this e-mail in error, please notify the sender and delete this e-mail from your system. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Can't find property for current user's home directory
Sure, there is a way to get to the folder. The Windows Installer may not make it easy since, IIRC, applications are not supposed to put files there. In this case, you'll have to write a CustomAction or tell the 3rd party to stop doing things that are not recommended. Under the ApplicationDataFolder is where this sort of stuff should go, I believe. There is a folder for that. smile/ bmahf wrote: Thanks for the reply. I had already looked in MSDN before posting. I found the link: http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx. As far as I can tell this is the full list of properties for Windows Installer. Is this the list you are talking about? There is nothing in this list that references the user's home folder. I agree, I wouldn't normally want to deal directly with this folder, but I'm integrating with a 3rd party package, and that package has a .ini file in that folder. I need to tell my installer to add some lines to that .ini file. I can't update that file if I don't have a way to refer to that folder. Any ideas on how I would do this? Seems to me that the installer for the 3rd party software was able to do this. There's got to be a way to get at this folder. Bruce All of the built in MSI properties are documented in the MSI SDK. Look for the Property Reference topic. -- View this message in context: http://n2.nabble.com/Can%27t-find-property-for-current-user%27s-home-directory-tp2983983p2987214.html Sent from the wix-users mailing list archive at Nabble.com. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Welcome dialog in the WixUI_Advanced
Thanks for the info Bob. All I am saying is that teh PrepareDlg dialog goes on too fast, at least in my case, it caused a what was that? moment more than anything. But i do understand that for other people might seem different. Thanks Andres Date: Wed, 27 May 2009 21:41:43 -0400 From: b...@joyofsetup.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Welcome dialog in the WixUI_Advanced Andres Juarez wrote: I just noticed that using the WixUI_Advanced that the UI goes almost directly to the license dialog going very, very fast through the Welcome dialog. It's not WelcomeDlg, it's PrepareDlg, which shows up while AppSearch is running. It's a modeless dialog that lets you show progress during long AppSearch runs. -- sig://boB http://joyofsetup.com/ -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-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 -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback
In article 1243447694545-2982772.p...@n2.nabble.com, achandrapano achan...@panologic.com writes: I have a custom action that occurs right before InstallFinalize. Pressing cancel and selecting 'yes' doesn't seem to cause a rollback. Is this a timing issue since no rollbacks are allowed after InstallFinalize? The MSI log shows the cancel dlg was created but nothing else (I did a diff of 2 msi logs, one with cancel and one without) It is up to the custom action to return ERROR_INSTALL_USEREXIT if you want your custom action to cause a rollback. Are you calling MsiProcessMessage in your custom action? You need to check the return value of this function and look for indications that the user clicked cancel (return value IDCANCEL) and then bubble out the cancel from your custom action back to the install engine. If you don't do this, the cancel action will be lost. I'm not the person who originally asked the question, but the documentation on MSDN is looking a little bit opaque on this issue. I have a custom action that takes about 2-3 minutes to do, (the main routine is recursive through the directory structure, see http://svn.ali.as/cpan/trunk/Perl-Dist-WiX/src/ClearFolderCA/ClearFolderCA/ClearFolderCA.cpp for the up-to-date source) and I'd like to be able to detect when the Cancel button has been hit. I know MsiProcessMessage is what I want to do to check for that cancel button... (I'd make the call each time I recurse into AddDirectory) but what's opaque is what parameters do I use if checking for a Cancel button press is the only thing I want to do? --Curtis -- 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] -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Can't find property for current user's home directory
Yeah, the 3rd party software is TortoiseHg. I have a program I need it to use in certain circumstances. I'd think these guys would know not to do this, and since they are so big and so widely used, it would be easier for me just to fix this on my end. I'll have to put a bug report in with them too, but for now, I need to get this going. Thanks for the help... Bruce Date: Thu, 28 May 2009 09:10:27 -0700 From: ml-user+181086-329500...@n2.nabble.com To: bm...@hotmail.com Subject: Re: [WiX-users] Can't find property for current user's home directory Sure, there is a way to get to the folder. The Windows Installer may not make it easy since, IIRC, applications are not supposed to put files there. In this case, you'll have to write a CustomAction or tell the 3rd party to stop doing things that are not recommended. Under the ApplicationDataFolder is where this sort of stuff should go, I believe. There is a folder for that. smile/ bmahf wrote: Thanks for the reply. I had already looked in MSDN before posting. I found the link: http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx. As far as I can tell this is the full list of properties for Windows Installer. Is this the list you are talking about? There is nothing in this list that references the user's home folder. I agree, I wouldn't normally want to deal directly with this folder, but I'm integrating with a 3rd party package, and that package has a .ini file in that folder. I need to tell my installer to add some lines to that .ini file. I can't update that file if I don't have a way to refer to that folder. Any ideas on how I would do this? Seems to me that the installer for the 3rd party software was able to do this. There's got to be a way to get at this folder. Bruce All of the built in MSI properties are documented in the MSI SDK. Look for the Property Reference topic. -- View this message in context: http://n2.nabble.com/Can%27t-find-property-for-current-user%27s-home-directory-tp2983983p2987214.html Sent from the wix-users mailing list archive at Nabble.com. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list wix-us...@... https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list wix-us...@... https://lists.sourceforge.net/lists/listinfo/wix-users This email is a reply to your post @ http://n2.nabble.com/Can%27t-find-property-for-current-user%27s-home-directory-tp2983983p2988608.html You can reply by email or by visting the link above. _ Windows Live™: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009 -- View this message in context: http://n2.nabble.com/Can%27t-find-property-for-current-user%27s-home-directory-tp2983983p2988936.html Sent from the wix-users mailing list archive at Nabble.com. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback
In article 1243528043.2048.1317665...@webmail.messagingengine.com, Curtis Jewell lists.wix-us...@csjewell.fastmail.us writes: I know MsiProcessMessage is what I want to do to check for that cancel button... (I'd make the call each time I recurse into AddDirectory) but what's opaque is what parameters do I use if checking for a Cancel button press is the only thing I want to do? There are two ways you can approach this. You can just periodically write something to the log file with MsiProcessMessage with INSTALLMESSAGE_INFO and check the return value. However, since your action takes quite a while, if you don't have some sort of updated UI your user is going to think the UI is hung and might do something stupid, like kill the process in the middle or generate a support call. So, the method I would suggest is to indicate progress of your CA by publishing AcionData messages with INSTALLMESSAGE_ACTIONDATA instead. If you know, or can determine when your action runs, how many steps are needed in your custom action, you can also publish progress messages to move the progress bar appropriately with INSTALLMESSAGE_PROGRESS. Either of these is preferable because it gives feedback to the user that things aren't hung. -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download http://www.xmission.com/~legalize/book/download/index.html Legalize Adulthood! http://blogs.xmission.com/legalize/ -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Binary files split into multiple blocks in the MSI
I am including an xml file as a binary in the MSI using the binary ... tag. The xml file is of a fixed size (10k always). When I open the MSI (which is built with Wix) in a hex editor I see that the file is split into two blocks (7k + 3k), and not contiguous. 1. Is there any attribute that can be set to stop splitting up this file? 2. If the answer to the above question is no, is there some way to extract the data in the MSI database, manipulate it and write it back to the MSI database on linux? I need to do some byte manipulation in the xml file I specified above (after the MSI is built). I have read in Rob Mensching's blog about the MSI file format ( http://robmensching.com/blog/posts/2003/11/25/Inside-the-MSI-file-format http://robmensching.com/blog/posts/2003/11/25/Inside-the-MSI-file-format ), so was wondering if the streams could be manipulated somehow on linux? -- View this message in context: http://n2.nabble.com/Binary-files-split-into-multiple-blocks-in-the-MSI-tp2989196p2989196.html Sent from the wix-users mailing list archive at Nabble.com. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback
On Thu, 28 May 2009 11:05 -0600, Richard legal...@xmission.com wrote: In article 4a1ec07c.1030...@wixtoolset.org, Rob Mensching r...@wixtoolset.org writes: You can't just check for Cancel. You need to send a message and if a cancel occurred then you'll get that in the return code from ::MsiProcessMessage(). wcautil.lib also has wrappers around many of the MSI functions since more functions than you'd expect can return cancel. In my case, I chose to propagate anything that isn't an ERROR_SUCCESS immediately, with ERROR_MORE_DATA and ERROR_NO_MORE_ITEMS being exceptions that are specifically handled by the routines that need to handle them. (That's what my MSI_OK and MSI_OK_* macros do) So if an Msi* function returns a standard ERROR_INSTALL_USEREXIT, it should pass that up the line in short order. The problem would be anything that returns something else and needs to change the error code to an ERROR_INSTALL_USEREXIT. This comes up often enough that it would be a good thing to document the canonical list of functions that you have to check. AFAIK, there is nothing in the Windows Installer documentation that is a list of such functions, you have to read through each one in the reference. Such a list would be quite nice. -- 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] -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback
On Thu, 28 May 2009 11:04 -0600, Richard legal...@xmission.com wrote: In article 1243528043.2048.1317665...@webmail.messagingengine.com, Curtis Jewell lists.wix-us...@csjewell.fastmail.us writes: I know MsiProcessMessage is what I want to do to check for that cancel button... (I'd make the call each time I recurse into AddDirectory) but what's opaque is what parameters do I use if checking for a Cancel button press is the only thing I want to do? There are two ways you can approach this. You can just periodically write something to the log file with MsiProcessMessage with INSTALLMESSAGE_INFO and check the return value. And I have points where I want to log things, so checking there is a matter of adding a case to the select afterwards that translates the return value into an ERROR_ constant. Easy enough. However, since your action takes quite a while, if you don't have some sort of updated UI your user is going to think the UI is hung and might do something stupid, like kill the process in the middle or generate a support call. So, the method I would suggest is to indicate progress of your CA by publishing AcionData messages with INSTALLMESSAGE_ACTIONDATA instead. I do say it'll take a few minutes at the beginning with a ProgressText, but I agree, adding ACTIONDATA calls would give more feedback and allow me to check frequently. So what I understand I need to do is: 1) I call MsiProcessMessage at the beginning of my CA with INSTALLMESSAGE_ACTIONSTART with a handle that contains three things: [1] = CA_ClearFolder [2] = Searching for additional files to delete: [3] = Directory: [1] and then for each directory I enter into, I'd call MsiProcessMessage(INSTALLMESSAGE_ACTIONDATA) with a handle with these contents: [1] = directory I've entered into. Is that the correct way to do it? (specifically, the correct way to tell the ACTIONSTART that the ACTIONDATA should be formatted that way?) --Curtis -- 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] -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Pressing yes to a cancel dialog during a binary custom action does not trigger rollback
In article 1243536299.30433.1317687...@webmail.messagingengine.com, Curtis Jewell lists.wix-us...@csjewell.fastmail.us writes: So what I understand I need to do is: 1) I call MsiProcessMessage at the beginning of my CA with INSTALLMESSAGE_ACTIONSTART with a handle that contains three things: [1] = CA_ClearFolder [2] = Searching for additional files to delete: [3] = Directory: [1] and then for each directory I enter into, I'd call MsiProcessMessage(INSTALLMESSAGE_ACTIONDATA) with a handle with these contents: [1] = directory I've entered into. Is that the correct way to do it? (specifically, the correct way to tell the ACTIONSTART that the ACTIONDATA should be formatted that way?) Since your code is publishing both the action start and action data events, its up to you to make them consistent. You establish the template for FormatRecord in your action start and the records you supply in action data are essentially the record used with the template in a call to FormatRecord. -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download http://www.xmission.com/~legalize/book/download/index.html Legalize Adulthood! http://blogs.xmission.com/legalize/ -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Binary files split into multiple blocks in the MSI
I only know of the MSI API. I expect all other means of editing an MSI are not supported. The WINE guys a pretty good at recreating Windows on Linux. You might ask them. Sagar Vemuri wrote: I am including an xml file as a binary in the MSI using the binary ... tag. The xml file is of a fixed size (10k always). When I open the MSI (which is built with Wix) in a hex editor I see that the file is split into two blocks (7k + 3k), and not contiguous. 1. Is there any attribute that can be set to stop splitting up this file? 2. If the answer to the above question is no, is there some way to extract the data in the MSI database, manipulate it and write it back to the MSI database on linux? I need to do some byte manipulation in the xml file I specified above (after the MSI is built). I have read in Rob Mensching's blog about the MSI file format ( http://robmensching.com/blog/posts/2003/11/25/Inside-the-MSI-file-format http://robmensching.com/blog/posts/2003/11/25/Inside-the-MSI-file-format ), so was wondering if the streams could be manipulated somehow on linux? -- View this message in context: http://n2.nabble.com/Binary-files-split-into-multiple-blocks-in-the-MSI-tp2989196p2989196.html Sent from the wix-users mailing list archive at Nabble.com. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Adding progressbar text on Add/Remove panel
Hi, I made one WIX installer which works fine. But when we uninstall it through Add/Remove Panel, it doesn't show any progressbar text. It shows just moving progressbar and at start only one text it shows Gathering required information And no other text. I have already added ProgressText element for all the custom actions during uninstallation. But It doesn't show any text. Atleast I want to show only one text i.e.uninstalling Product. Can anyone tell me the solution for this? Thanks, Hukum -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Incrementing the value of a Wix Property
Hi, I have a Wix property which I set from a value entered by a user in a particular UI dialog. This is actually a base port number used by the program that will be installed. The default value of this is 2 (say). Property Id=STARTPORT Value=2 / I want to set other port numbers based on the value of this STARTPORT property. Is it possible to create another property and perform some simple calculation based on the value of the STARTPORT? How can I achieve this in Wix? Thanks. -- View this message in context: http://n2.nabble.com/Incrementing-the-value-of-a-Wix-Property-tp2992019p2992019.html Sent from the wix-users mailing list archive at Nabble.com. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Incrementing the value of a Wix Property
Ideally, I would like to set SERVICE_PORT = STARTPORT + 10 where SERVICE_PORT is the other port I have to set based on the value of the STARTPORT property. -- View this message in context: http://n2.nabble.com/Incrementing-the-value-of-a-Wix-Property-tp2992019p2992035.html Sent from the wix-users mailing list archive at Nabble.com. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] checkbox issues
Okay, So I've scoured the documentation and tried every which way... but I can't for the life of me figure out how to de-select a checkbox based on a registry value. Let's say for example I provide the user with the option to install a desktop shortcut or not, simple enough. However I want store the value of this in the registry so that the shortcut isn't recreated during a repair, and so I can remember the users setting across an upgrade so that the UI defaults to their previously selected state. Issues I've come across are - Checkboxes are selected whenever there is a non-null value (I even tried setting the Integer property, using zero, etc. no luck) - Orca won't let me null a property, I have to drop the entire row (older versions seem to permit it, just not the latest) - RegistrySearch doesn't seem to overwrite properties if an empty/null value is in the desired registry key (i.e. key exists, value doesn't) Basically I'm really stumped trying to figure out how to nullify a property on the fly or read an empty registry value (or missing, I can work with that too). If I can do that then I'm halfway there. Any ideas/suggestions? Sascha (Note that a desktop shortcut isn't the real issue here, it's just the most obvious way to explain what I'm trying to do) -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Adding progressbar text on Add/Remove panel
Try adding the following: UIRef Id=WixUI_ErrorProgressText / It's in WiX.chm but buried in the localization section of the documentation, technically the correct place but most of us look in the UI section first :) On Fri, May 29, 2009 at 2:18 PM, Hukumchand Shah hukum.s...@gmail.com wrote: Hi, I made one WIX installer which works fine. But when we uninstall it through Add/Remove Panel, it doesn't show any progressbar text. It shows just moving progressbar and at start only one text it shows Gathering required information And no other text. I have already added ProgressText element for all the custom actions during uninstallation. But It doesn't show any text. Atleast I want to show only one text i.e.uninstalling Product. Can anyone tell me the solution for this? Thanks, Hukum -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Binary files split into multiple blocks in the MSI
In article 1243532498231-2989196.p...@n2.nabble.com, Sagar Vemuri sagar.vem...@gmail.com writes: 1. Is there any attribute that can be set to stop splitting up this file? No. You should neither depend on nor care about how the file is stored in the MSI. 2. If the answer to the above question is no, is there some way to extract the data in the MSI database, manipulate it and write it back to the MSI database on linux? I suppose anything is possible, but manipulating MSI files happens by way of the MSI API which is only available on Windows. I need to do some byte manipulation in the xml file I specified above (after the MSI is built). Instead of telling us the task, tell us the goal. Many goals can be reached by more than one task, but so far you're only telling us I want to do task X instead of telling us the goal. -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download http://www.xmission.com/~legalize/book/download/index.html Legalize Adulthood! http://blogs.xmission.com/legalize/ -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How do I preserve a configuration file on a majorupgrade?
Correctly so, QtCmdCopy is running too early (immediate action) and trying to write to a protected location while UAC is still at a lower privilege level. See http://blogs.msdn.com/rflaming/archive/2006/09/23/768146.aspx for an explanation why the actions fail under Vista. On Tue, May 26, 2009 at 4:34 PM, si sshnug...@gmail.com wrote: I know this thread is over a year old, but for those who find it via google, the custom actions below fail with Access Denied under Vista when the user does not have admin rights i.e. enters admin credentials during install. However it does work if you log in as Admin, or open a cmd prompt as admin. On Tue, Apr 8, 2008 at 5:31 PM, Thomas Terhaar thomas.terh...@voicint.comwrote: I was struggling with the same issue and because I’m fairly new to WIX and MSI in general I was not able to find a ‘clean’ Solution. What I have so far is the following, I consider this a ‘Workaround’ : !-- Support Upgrading the Product -- Upgrade Id={B0FB80ED-249E-4946-87A2-08A5BCA36E7E} UpgradeVersion Minimum=$(var.Version) OnlyDetect=yes Property=NEWERVERSIONDETECTED / UpgradeVersion Minimum=0.0.0 Maximum=$(var.Version) IncludeMinimum=yes IncludeMaximum=no Property= OLDERVERSIONBEINGUPGRADED / /Upgrade Property Id=OLDERVERSIONBEINGUPGRADED Secure=yes / !-- Action to save and Restore the Config-File on reinstall -- !-- We're using CAQuietExec to prevent DOS-Boxes from popping up -- CustomAction Id=SetQtCmdLineCopy Property=QtExecCmdLine Value=quot;[SystemFolder]cmd.exequot; /c copy quot; [INSTALLDIR]MyApp.exe.configquot; quot;[INSTALLDIR]config.bakquot; / CustomAction Id=QtCmdCopy BinaryKey=WixCA DllEntry= CAQuietExec Execute=immediate / CustomAction Id=SetQtCmdLineRestore Property=QtCmdRestore Value=quot;[SystemFolder]cmd.exequot; /c move /Y quot; [INSTALLDIR]config.bakquot; quot;[INSTALLDIR]MyApp.exe.configquot; / CustomAction Id=QtCmdRestore Execute=commit BinaryKey= WixCA DllEntry=CAQuietExec / !-- These actions will run only for a major upgrade -- InstallExecuteSequence Custom Action=SetQtCmdLineCopy After= InstallInitialize NOT (OLDERVERSIONBEINGUPGRADED = )/Custom Custom Action=QtCmdCopy After=SetQtCmdLineCopyNOT (OLDERVERSIONBEINGUPGRADED = )/Custom Custom Action=SetQtCmdLineRestore Before= InstallFinalizeNOT (OLDERVERSIONBEINGUPGRADED = )/Custom Custom Action=QtCmdRestore After=SetQtCmdLineRestore NOT (OLDERVERSIONBEINGUPGRADED = )/Custom /InstallExecuteSequence This basically copies the File ‘MyApp.exe.config’ to ‘config.bak’ before the old Version is removed and after the new Version is installed, the File is moved back to it’s original Filename (thus the .bak File is removed) This works fairly well but I’m still wondering if there’s a more intuitive and cleaner approach to keep configuration settings when performing a major upgrade ? (No, I don’t want to use the Registry) Btw, I’m using WIX 3.0.3815.0 Regards, Thomas *From:* wix-users-boun...@lists.sourceforge.net [mailto: wix-users-boun...@lists.sourceforge.net] *On Behalf Of *dB. *Sent:* Montag, 7. April 2008 01:00 *To:* Bob Arnson *Cc:* wix-users@lists.sourceforge.net *Subject:* Re: [WiX-users] How do I preserve a configuration file on a majorupgrade? That doesn’t work. A component’s condition applies to installation. So once a component is installed, you can’t conditionally uninstall it when you remove the entire application, which happens during the major upgrade. Then you can choose not to re-install the component on a condition, but the configuration files will be removed by then. As Markus Kuehni wrote in his previous post, MSI keeps doing the “right thing”, which is to keep track of files and never leave anything behind. I think an extended file copy/move/delete would be a nice and simple WIX extension invoking the custom action and one could specify a condition on that. cheers -dB. *From:* Bob Arnson [mailto:b...@joyofsetup.com] *Sent:* Sunday, April 06, 2008 1:19 PM *To:* dB. *Cc:* wix-users@lists.sourceforge.net *Subject:* Re: [WiX-users] How do I preserve a configuration file on a major upgrade? dB. wrote: I tried, but using FileId or putting FileCopy under a File will delete my file on uninstall and not using FileId silently did absolutely nothing and didn’t show anything in the log. Basically I couldn’t get it to work. Maybe a bug? Hmm...Maybe another component with the right condition? -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by the 2008 JavaOne(SM)
Re: [WiX-users] WiX 3.0: How to run another program before launching the main application
Check out the documentation, specifically ShellExecute CustomAction and How To: Run the Installed Application After Setup in WiX.chm On Sat, May 23, 2009 at 10:13 AM, little.forest little.for...@ymail.com wrote: We are using WiX version 3.0.4805.0. How to run another program before launching the main application? We have a program called preutil.exe. We need to run it with some arguments like this preutil.exe /i /t /s. How to do it? Thanks a lot, /Brian __ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://www.creativitycat.com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Open URL after launch condition fails
Try using two custom actions instead of a launch condition, first one to check for Silverlight with the second to launch a webpage if it's not installed. On Mon, May 25, 2009 at 12:20 AM, Bob Arnson b...@joyofsetup.com wrote: Jose Enrique Bolanos wrote: I have a launch condition which checks if Silverlight 2 is installed. In the message displayed when it fails, I would like to include a clickable link which launches the installation page, or some other way of launching the page for the user directly from the msi wizard. Is this possible at all? MSI 5.0 is the first version to support hyperlinks. There's no built-in functionality to customize the launch condition dialogs. -- sig://boB http://joyofsetup.com/ -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://www.creativitycat.com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Bootstrap an MSI to pass in parameters
See msi.chm, check out the MsiLogging and MsiLogFileLocation properties. On Sat, May 23, 2009 at 3:32 AM, achandrapano achan...@panologic.com wrote: I am trying to create a bootstrapper to my MSI so I can pass in the logging verbosity and log file location to msiexec. I have looked at setupbld.exe but it doesn't seem to be able to pass in parameters. I want someway to set logging verbosity and location of log files when someone double clicks on the msi or exe. What is the best way to do this? -- View this message in context: http://n2.nabble.com/Bootstrap-an-MSI-to-pass-in-parameters-tp2958718p2958718.html Sent from the wix-users mailing list archive at Nabble.com. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://www.creativitycat.com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Incrementing the value of a Wix Property
I don't think the Windows Installer supports that syntax. You'll probably need a CustomAction. WixFan wrote: Ideally, I would like to set SERVICE_PORT = STARTPORT + 10 where SERVICE_PORT is the other port I have to set based on the value of the STARTPORT property. -- View this message in context: http://n2.nabble.com/Incrementing-the-value-of-a-Wix-Property-tp2992019p2992035.html Sent from the wix-users mailing list archive at Nabble.com. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users