Re: [WiX-users] Different action on uninstall
I need some property to detect if it's installation or uninstallation process 2007/8/1, Benas [EMAIL PROTECTED]: During installation I'm calling extern C function in my cpp dll. But during uninstallation i want to call other function from the same dll - how can i do that? Thanks for answers, Benas -- Pagarbiai, Benediktas Lipnickas - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Different action on uninstall
The Installed property will tell you if the product is installed or not. So a Custom Action with a condition of 'NOT Installed' will only be trigger on install. A condition of 'Installed' is obviously the opposite to this, but it's also true for repairs and maintenance. If you need to tell the difference between these and an actual uninstall, I think a condition of 'REMOVE=ALL' is what you want. Rob Benas wrote: I need some property to detect if it's installation or uninstallation process 2007/8/1, Benas [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: During installation I'm calling extern C function in my cpp dll. But during uninstallation i want to call other function from the same dll - how can i do that? Thanks for answers, Benas -- Pagarbiai, Benediktas Lipnickas - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to update PATH environment variable in WiX?
Brent B. Powers wrote: Werner, Harvey D wrote: I need to update the PATH environment variable to prepend the value of [TARGETDIR]\bin during our product installation. You need Action='set' below, and I believe you have to do a CA to get/manipulate the value to set. Am I the only one who absolutely hates it when a program plays with my path? Drives me nuts. It's MY path. It's valid for command line apps which may be run from anywhere, but anything that runs from the GUI of course has no business using PATH at all - it should be setting AppPath if it needs paths at all. IMO new paths should *always* go at the end as well, not the start. I hate apps that automatically think they're the most important thing on the system (there's a security issue there too - the system should always be first in the path to avoid rogue applications redefining system DLLs). Tony - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] passing parameters through custom actions in C#
Hi, I am trying to pass parameters from WIX to C# code, but I am not able to do it properly. To code that I have written on WIX side is: Property Id=teststring ![CDATA[Hello world]] /Property CustomAction Id=testing Return=check BinaryKey=test DllEntry=hello/ Binary Id=test src=test.dll / CustomAction Id=testing.setproperty Return=check Property=testing Value=[teststring] / InstallExecuteSequence Custom Action=testing.setproperty After=InstallFiles / Custom Action=testing After=testing.setproperty / /InstallExecuteSequence The code I have written in C# and compiled as a DLL is : using System; using System.Text; using System.Runtime.InteropServices; namespace testing { public class test{ public static int hello(IntPtr handle) { int i; int ptrcnt = 256; //System.Windows.Forms.MessageBox.Show( String.Format( Hello World {0},handle) ); StringBuilder sb = new StringBuilder(ptrcnt); i = MsiGetProperty(handle,CustomActionData,sb,ref ptrcnt); System.Windows.Forms.MessageBox.Show( String.Format ( {0},sb ) ; return 0; } [DllImport(msi.dll, CharSet=CharSet.Unicode)] static extern int MsiGetProperty(IntPtr hInstall, string szName, [Out] StringBuilder szValueBuf, ref int pchValueBuf); } } But I am not able to pass the property value to C#. I am compiling the code as a dll and making necessary modifications in the ilcode to export the method test. Can anyone please let me know if I am missing anything. Thank you, regards balaji. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] backing up the existing files while installing
Hi, Our current requirement is something like this. Requirement(in WIX) : We are currently adding a component to the existing software. While installing the component, we need to take a backup of 2 files since they will be replaced with their latest versions. While uninstalling the component, we need to replace the newer versions with their older version counterparts. Can anyone please let us know if there are any properties that we can use in WIX that need to be set, rather than writing custom actions. You help is desperately sought. Thank you, Regards Balaji. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] backing up the existing files while installing
We tried to do this with our configuration files. The issue we faced was that because RemoveExistingProducts came early on, the old file was removed with the old product, but we wanted it remain untouched by the installer during an upgrade or if the user manually uninstalled the application. At first we tried using CopyFiles, but that doesn't work because you can only schedule CopyFiles once, so you can't use it to backup and then restore the files. We settled on making the configuration files Permanent, Never-Overwrite in the new installer and scheduling RemoveExistingProducts after InstallFinalize. Because the files are Permanent, the upgrade will not overwrite them and RemoveExistingProducts will not remove them because there are now two products using those components so the reference count will not go to 0 when the older version is removed. -- Bill Arnette www.starwitness.com http://www.starwitness.com/ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Balaji Nidadavolu Sent: Wednesday, August 01, 2007 9:44 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] backing up the existing files while installing Hi, Our current requirement is something like this. Requirement(in WIX) : We are currently adding a component to the existing software. While installing the component, we need to take a backup of 2 files since they will be replaced with their latest versions. While uninstalling the component, we need to replace the newer versions with their older version counterparts. Can anyone please let us know if there are any properties that we can use in WIX that need to be set, rather than writing custom actions. You help is desperately sought. Thank you, Regards Balaji. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] error LGHT0103
Hello, I was using wix yesterday and some how it started to give me this error? But I don't use compression anyone have a clue? C:\delivery\Dev\wix_public\src\ext\uiextension\wixlib\Common.wxs(15) : error LGHT0103 : The system cannot find the file 'C:\temp\cpo7dsz2\cab_0_Setup\2'. Thanks you Best regards, Patrice Lamarche - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] error LGHT0103
I forgot to add, I'm using this version 3.0.3127.0 Pat De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Patrice Lamarche Envoyé : 1 août 2007 10:55 À : wix-users@lists.sourceforge.net Objet : [WiX-users] error LGHT0103 Hello, I was using wix yesterday and some how it started to give me this error? But I don't use compression anyone have a clue? C:\delivery\Dev\wix_public\src\ext\uiextension\wixlib\Common.wxs(15) : error LGHT0103 : The system cannot find the file 'C:\temp\cpo7dsz2\cab_0_Setup\2'. Thanks you Best regards, Patrice Lamarche - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] File Paths and Fragments
I switched to WiX 3.0.2925.0 and still had the same problem. Strangely enough I broke it down to a really small test case and it worked fine. This was a direct copy and paste of the custom actions/files/and scheduling. They're both in approximate the same place in the install sequence 4001 to 4016, after Install Files, so well within the range where the references will still be valid. I'm not getting an invalid foreign key reference so it acknowledges those files are there. Other custom actions are also having their references resolve properly, which just confuses me more. Brian Poploskie From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 1:37 AM To: Brian Poploskie Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] File Paths and Fragments Brian Poploskie wrote: I'm using some file keys in custom actions, for example [#MyFile]. This was working fine until I broke the core wxs file up into multiple files containing fragments for easier maintenance. Since I've done this the file references don't seem to be evaluating to anything. I get empty strings in the logs when I try to do the install. Is it not possible to use formatted strings to get the path of file objects when the files are in a fragment? Yes, it should work/does work for me. Can you narrow it down to a simple case? -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] custom action VS2005
I'm having problems with creating a custom install, i'm creating the very simple DLL using this code in VS2005 #include stdafx.h #ifdef _MANAGED #pragma managed(push, off) #endif BOOL APIENTRY DllMain( HMODULE hModule,DWORD ul_reason_for_call,LPVOID lpReserved) { return TRUE; } #ifdef _MANAGED #pragma managed(pop) #endif UINT __stdcall UpdateCfg( MSIHANDLE hModule ) { return 0; } So it should just return 0; This is my code from Wix [v2] Binary Id='UPDATEOMNICFG' SourceFile='OmniCfgUpdateCustomAction.dll'/ CustomAction Id='editOmniCfgFile' BinaryKey='UPDATEOMNICFG' DllEntry='UpdateCfg' Execute=immediate / InstallExecuteSequence Custom Action=editOmniCfgFile After=LaunchConditions / /InstallExecuteSequence I get the following error in the install log? Does anyone know what I'm doing wrong? Thanks Mark - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] custom action VS2005
Whoops sorry i get the following error in my install log: Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action editOmniCfgFile, entry: UpdateCfg, library: C:\WINDOWS\Installer\MSI9F6.tmp MSI (s) (24:F8) [16:42:45:828]: Product: mtm Agent -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action editOmniCfgFile, entry: UpdateCfg, library: C:\WINDOWS\Installer\MSI9F6.tmp - Original Message - From: Mark Line To: wix-users@lists.sourceforge.net Sent: Wednesday, August 01, 2007 5:09 PM Subject: custom action VS2005 I'm having problems with creating a custom install, i'm creating the very simple DLL using this code in VS2005 #include stdafx.h #ifdef _MANAGED #pragma managed(push, off) #endif BOOL APIENTRY DllMain( HMODULE hModule,DWORD ul_reason_for_call,LPVOID lpReserved) { return TRUE; } #ifdef _MANAGED #pragma managed(pop) #endif UINT __stdcall UpdateCfg( MSIHANDLE hModule ) { return 0; } So it should just return 0; This is my code from Wix [v2] Binary Id='UPDATEOMNICFG' SourceFile='OmniCfgUpdateCustomAction.dll'/ CustomAction Id='editOmniCfgFile' BinaryKey='UPDATEOMNICFG' DllEntry='UpdateCfg' Execute=immediate / InstallExecuteSequence Custom Action=editOmniCfgFile After=LaunchConditions / /InstallExecuteSequence I get the following error in the install log? Does anyone know what I'm doing wrong? Thanks Mark - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] custom action VS2005
Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action editOmniCfgFile, entry: UpdateCfg, library: C:\WINDOWS\Installer\MSI9F6.tmp MSI (s) (24:F8) [16:42:45:828]: Product: mtm Agent -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action editOmniCfgFile, entry: UpdateCfg, library: C:\WINDOWS\Installer\MSI9F6.tmp Mark, Are you statically or dynamically linking with the runtime libraries? I've seen an error similar to this with the runtime dynamically linked when the runtime is not installed on the target machine. By far the safest thing to do is to statically link, i.e. use /MT rather than /MD. Regards, John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] passing parameters through custom actions in C#
MSI supports Win32 Dlls, not C# assembly calls. Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Balaji Nidadavolu Sent: Wednesday, August 01, 2007 6:17 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] passing parameters through custom actions in C# Hi, I am trying to pass parameters from WIX to C# code, but I am not able to do it properly. To code that I have written on WIX side is: Property Id=teststring ![CDATA[Hello world]] /Property CustomAction Id=testing Return=check BinaryKey=test DllEntry=hello/ Binary Id=test src=test.dll / CustomAction Id=testing.setproperty Return=check Property=testing Value=[teststring] / InstallExecuteSequence Custom Action=testing.setproperty After=InstallFiles / Custom Action=testing After=testing.setproperty / /InstallExecuteSequence The code I have written in C# and compiled as a DLL is : using System; using System.Text; using System.Runtime.InteropServices; namespace testing { public class test{ public static int hello(IntPtr handle) { int i; int ptrcnt = 256; //System.Windows.Forms.MessageBox.Show( String.Format( Hello World {0},handle) ); StringBuilder sb = new StringBuilder(ptrcnt); i = MsiGetProperty(handle,CustomActionData,sb,ref ptrcnt); System.Windows.Forms.MessageBox.Show( String.Format ( {0},sb ) ; return 0; } [DllImport(msi.dll, CharSet=CharSet.Unicode)] static extern int MsiGetProperty(IntPtr hInstall, string szName, [Out] StringBuilder szValueBuf, ref int pchValueBuf); } } But I am not able to pass the property value to C#. I am compiling the code as a dll and making necessary modifications in the ilcode to export the method test. Can anyone please let me know if I am missing anything. Thank you, regards balaji. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] possible to configure WebLog location?
Is it possible to change the default location for a WebLog of a WebSite? It looks like WebLog element does not allow this. I was planning to use WebLog Type=W3C Thanks - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to automate download and install feature in WIX?
Hi, I have written a Custom Action DLL using Visual C++. MSI will take the user to the download page of the software if the particular software is not installed in the user machine while installing the MSI. Is it possible to download and install the particular software in microsoft download center without user intervention using WIX (Custom Action). If yes, kindly guide me how to go about this feature. Thanks, Naresh Krishna Kumar. K -- View this message in context: http://www.nabble.com/How-to-automate-download-and-install-feature-in-WIX--tf4201613.html#a11950496 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] uninstall difficulties with XmlFile
Hi everybody. I am just starting with WIX, and in general I've found WIX to be very powerful and easy to use. Unfortunately, the XML configuration actions in WIX are not as well documented as the rest of WIX, and I've hit a lot of obstacles when trying to use them. My current stumbling block with the XML is how to remove XML entries on uninstall. My program shares an XML configuration file with several other programs, and on uninstall I would like to remove my program's additions to the XML config file. Right now, my XML config component looks something like this: Component Id='UserConfigFileXmlEntryComponent' Guid='DEADBEEF-8347-45EE-A5A8-584F360B3525' Permanent='no' !--Dbx2-- XmlFile Id='UserConfigAddDbx2Node' Sequence='100' ElementPath='//configuration' Permanent='no' File='[USERCONFIGDIR]user.config' Action='createElement' Name='Dbx2' / /Component This installs correctly, but on uninstall, the Dbx2 element is not removed from the Xml Config file. I've tried all sorts of combinations of XmlFile, XmlConfig, Permanent='no', XmlConfig Delete actions, etc. etc. I've looked through the uninstall logs, and the problem is not that the component is pinned. The SchedXml action seems to carry out correctly and returns a value of 1. Oh, and I am using Wix 2.0 in case that matters. If someone has an example of how to uninstall XML entries correctly or can tell me what I am doing wrong, it would be much appreciated. Thank you for the help, Joe Montgomery - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Undefined preprocessor variable
are you using code from using dark.exe? think I've seen var $(var.bannerBmp) when I've decompiled something before... if you just store the banner bitmap in a subdir called \Bitmaps\bannrbmp.bmp you should be ok you could also define your own bitmap in wix and reference that instead Binary Id=bannrbmp SourceFile=Binary\Banner.bmp / Hope this helps Mark - Original Message - From: [EMAIL PROTECTED] To: wix-users@lists.sourceforge.net Sent: Wednesday, August 01, 2007 9:57 PM Subject: [WiX-users] Undefined preprocessor variable When I try to compile some of the wix 3 ui files, I get errors like Common.wxs(15) : error CNDL0150 : Undefined preprocessor variable '$(var.bannerBmp)'. Is it possible to pass values for variables on the command line? Ex: C:/Program Files/Windows Installer XML v3/bin/candle ./ui/Common.wxs -dbannerbmp=./ui/Bitmaps/bannrbmp.bmp -out ./ui/Common.wixobj -- - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] automatic uninstallation of previous version
Hi guys, Can anyone tell me if there is a simple XML element I can add to my WXS file to automatically uninstall previous versions of a product, before executing the install procedure? I would like the user not to have to go to 'add/remove programs'... Thanks - Adam Secon NZ Ltd. A1/400 Rosedale Road Albany North Shore 0632 New Zealand Tel. +64 (0)9 414 4071 Fax. +64 (0)9 414 4072 http://www.seconag.com www.seconag.com - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to distinguish between different editions of Vista?
Our product is only to be installed on Vista Business Edition, not on any other version, and I want to know if there's functionality native to WiX that can be used to detect the edition of Vista, or if I will need to write a CustomAction? Thanks for your time! -- View this message in context: http://www.nabble.com/How-to-distinguish-between-different-editions-of-Vista--tf4203342.html#a11955997 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to distinguish between different editions of Vista?
Jared Hughes wrote: Our product is only to be installed on Vista Business Edition, not on any other version, and I want to know if there's functionality native to WiX that can be used to detect the edition of Vista, or if I will need to write a CustomAction? You can try one of the MsiNTSuite* properties or the OSInfo custom actions in WiX v3. See OSInfo custom actions in WiX.chm for details on the latter. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] automatic uninstallation of previous version
Adam Langley wrote: Can anyone tell me if there is a simple XML element I can add to my WXS file to automatically uninstall previous versions of a product, before executing the install procedure? Yes, it's called a major upgrade. See the MSI SDK doc for details and http://www.tramontana.co.hu/wix/lesson4.php for the tutorial. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Undefined preprocessor variable
[EMAIL PROTECTED] wrote: When I try to compile some of the wix 3 ui files, I get errors like Just curious: What are you trying to do? If you're rebuilding the entire UI extension, you need to pass the same arguments as src\ext\UIExtension\UIExtension.build. Common.wxs(15) : error CNDL0150 : Undefined preprocessor variable '$(var.bannerBmp)'. Is it possible to pass values for variables on the command line? Ex: C:/Program Files/Windows Installer XML v3/bin/candle ./ui/Common.wxs -dbannerbmp=./ui/Bitmaps/bannrbmp.bmp -out ./ui/Common.wixobj Preprocessor variables are case-sensitive: It needs to be bannerBmp. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] File Paths and Fragments
Brian Poploskie wrote: I switched to WiX 3.0.2925.0 and still had the same problem. Strangely enough I broke it down to a really small test case and it worked fine. This was a direct copy and paste of the custom actions/files/and scheduling. They're both in approximate the same place in the install sequence 4001 to 4016, after Install Files, so well within the range where the references will still be valid. I'm not getting an invalid foreign key reference so it acknowledges those files are there. Can you post a fragment? Nothing's coming to mind so far... -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] backing up the existing files while installing
Balaji Nidadavolu wrote: *_Requirement(in WIX)_** : We are currently adding a component to the existing software. While installing the component, we need to take a backup of 2 files since they will be replaced with their latest versions. While uninstalling the component, we need to replace the newer versions with their older version counterparts.* MSI doesn't support that functionality so you'd have to use deferred custom actions to accomplish it. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to automate download and install feature in WIX?
Naresh Krishna Kumar K wrote: I have written a Custom Action DLL using Visual C++. MSI will take the user to the download page of the software if the particular software is not installed in the user machine while installing the MSI. Is it possible to download and install the particular software in microsoft download center without user intervention using WIX (Custom Action). No, because you can't run multiple installations simultaneously, so it's not possible from within a custom action. You need to provide a standalone .exe chainer/bootstrapper to handle it. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users