[WiX-users] windows services installed using wix installer not removed on windows server 2008
Hi, I have a installer which works fine on windows XP and earlier. this installer installs some services on target machine. if target machine has windows server 2008, then while uninstalling my product installer does not removes services from target machine. Please advice me if any body had experienced this issue earlier. Regards, Sanjay Rao -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Simple upgrade for existing app replacing two binaries files
Hi guys. Need your help. I need to create a simple upgrade for existing application which replaces a couple of files and adds some key to ini-file. Here is my wxs: [image: Выделить всё] javascript: selectAll('xml_ZmQxND')[image: Развернуть код] javascript: toggleScroll('xml_ZmQxND')*Разметка XML* 1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16:17:18:19:20:21:22:23:24:25:26:27:28: 29:?xml version=1.0 encoding=utf-8? **Wix xmlns= http://schemas.microsoft.com/wix/2006/wi; ** Product Id= C240EDEC-214D-11DF-AD51-636155D89593 Language=1033 Version=0.0.0.1 Manufacturer=NICE Systems Name=Dymo450MLSupportHF UpgradeCode= 1D717CD3-AD7C-489B-89B0-42916FF45A6C **Package Comments=NICE Systems Description=Dymo450MLSupportHF - Hotfix for Dymo 450 LabelWriter printer support for ML and PS Id=* InstallerVersion=300 Keywords= Installer Languages=1033 Manufacturer=NICE Systems SummaryCodepage= 1252 Compressed=yes / **UI / **Media Id=1 Cabinet= data.cab EmbedCab=yes / **Directory Id=TARGETDIR Name= SourceDir ** Directory Id=ProgramFilesFolder Name=PFiles ** Directory Id=NiceDir Name=NICE Systems ** Directory Id=INSTALLDIR Name=Media Library **Component Id= MLExecutable Guid=EA0A676F-4F14-47F2-A8E6-90F3D0822066 ** IniFile Id=ConfigUpdateNew Action=addLine Directory= INSTALLDIR Name=DAT_DB.INI Section=Supported_Printers Key=Dymo LW450 Value=Dymo400.dll/Dymo450 / ** !--CopyFile Id=MLExecutableBackup SourceName=LBL_PRNT.exe DestinationName=LBL_PRNT.exe.backup SourceDirectory=INSTALLDIR DestinationDirectory=INSTALLDIR /-- ** File Id=MLExecutableNew Name=LBL_PRNT.exe DiskId=1 Source=LBL_PRNT.exe / **/Component ** Component Id=PrinterDLL Guid=79F6FD37-CD0A-470E-9612-1A04F098A8CE ** !--CopyFile Id=PrinterDLLBackup SourceName=Dymo400.dll DestinationName=Dymo400.dll.backup SourceDirectory=INSTALLDIR DestinationDirectory=INSTALLDIR /-- ** File Id=PrinterDLLNew Name=Dymo400.dll DiskId=1 Source=Dymo400.dll / **/Component ** /Directory **/Directory ** /Directory **/ Directory **Feature Id=MLUpdate Level=1 ** ComponentRef Id= MLExecutable / ** ComponentRef Id=PrinterDLL / **/Feature ** /Product **/Wix The generated installer doesn't replace two binaries, in log I have the folowing lines: (C8:30) [14:03:32:109]: The file represented by File table key 'MLExecutableNew' has no eligible binary patches MSI (s) (C8:30) [14:03:32:109]: The file represented by File table key 'PrinterDLLNew' has no eligible binary patches The instresting thing is that if I change the content of these binaries on target machine (reduce their size down to several bytes) - the files are being replaced normally, but this don't work with original ones. As I suppose it's need to add some Patch or Upgrade elements, but I don't now the upgrade code of the application. All I need is just to replace two existing files with mine and rollback them during the uninstallation. Thanks in advance. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Simple upgrade for existing app replacing two binaries files
On 2/28/2010 6:35 AM, Semion Prihodko wrote: The instresting thing is that if I change the content of these binaries on target machine (reduce their size down to several bytes) - the files are being replaced normally, but this don't work with original ones. Make sure you update the files' version information; MSI won't overwrite files unless their versions change. As I suppose it's need to add some Patch or Upgrade elements, but I don't now the upgrade code of the application. All I need is just to replace two existing files with mine and rollback them during the uninstallation. MSI doesn't support replacing files on uninstall except via patches. If you didn't install the original files, you won't be able to update them and downgrade them. -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Newbie: Customised shortcut app target folder
On 2/28/2010 10:42 AM, Information Vision wrote: How can I get the setup to create app shortcut name and app target folder name based on the version of the app? Basically I need each version of the app to go into its own target folder and have its own unique shortcut name. Use a preprocessor variable in the Directory element's Name attribute: Name=Foo $(var.Bar) -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] windows services installed using wix installer not removed on windows server 2008
On 2/28/2010 4:17 AM, Sanjay Rao wrote: I have a installer which works fine on windows XP and earlier. this installer installs some services on target machine. if target machine has windows server 2008, then while uninstalling my product installer does not removes services from target machine. Check a verbose log to see what MSI is and isn't doing with your components. -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Simple upgrade for existing app replacing two binaries files
So how can I make a patch replacing two files in old installation which is probably doesn't presume patches? Is there really no way to simply replace two files? Thanks. 2010/2/28 Bob Arnson b...@joyofsetup.com On 2/28/2010 6:35 AM, Semion Prihodko wrote: The instresting thing is that if I change the content of these binaries on target machine (reduce their size down to several bytes) - the files are being replaced normally, but this don't work with original ones. Make sure you update the files' version information; MSI won't overwrite files unless their versions change. As I suppose it's need to add some Patch or Upgrade elements, but I don't now the upgrade code of the application. All I need is just to replace two existing files with mine and rollback them during the uninstallation. MSI doesn't support replacing files on uninstall except via patches. If you didn't install the original files, you won't be able to update them and downgrade them. -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Passing Values to a Merge Module
We are trying to create a Merge Module that we can essentially pass a value into. Then the Merge Module will use that value to determine whether or not to install some files. We want to skip installing some files unless someone passes in a value. The idea being that for people using our MSM by default will not install a file but if we want to we can tell people that they can set this value and the files will get installed. I found that we should be able to do this with ConfigurationData and Configuration Elements I think based on this thread - http://sourceforge.net/mailarchive/message.php?msg_name=e067caa20905280720m6bbe42bcje5fd4f68c08023a%40mail.gmail.com Below is what we basically have. In the Module Element of the Merge Module: Configuration Name=InstallSomeFiles Format=Integer DefaultValue=0 DisplayName=Install Some Files? / Then later we have a Component: Component Id=MyPackageComponent1 Guid=GUID-HERE DiskId=1 Condition InstallSomeFiles 0 /Condition File Id=SomeFile1 Name=SomeFile.xml KeyPath=yes Source=$(var.OutputDir) / /Component Then inside the Merge element we have: ConfigurationData Name=InstallSomeFiles Value=1 / However it seems that the condition is not picking up the fact that InstallSomeFiles is set up. I thought that a Configuration element could just be referred to like a property. However that is not working. If I define InstallSomeFiles as property instead of a Configuration it works as I would expect because I can change the value and then the Condition works. So the question at the end of all of this is how can I use the value passed into a Merge Module (MSM) to do a Condition? Thanks in advance! Zach -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Passing Values to a Merge Module
You defined a configurable value, but haven't defined how/where that configurable value is substituted into the data of the merge module before being merged into the MSI. Look at the Subsitution tag in the WiX schema reference as well as the MSDN documentation on configurable merge modules: http://msdn.microsoft.com/en-us/library/aa368027(VS.85).aspx -- The Direct3D Graphics Pipeline -- DirectX 9 draft available for download http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/ Legalize Adulthood! http://legalizeadulthood.wordpress.com -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] File from local location
I have the next code in my project: DirectoryRef Id=Picture Component Id=Global.jpeg Guid=263B6F39-BE6B-4b51-8AE4-4D152436F0AE DiskId=2 NeverOverwrite=yes Permanent=yes File Name=Global.jpeg Source=./Global.jpeg Compressed=no DiskId=2/ /Component /DirectoryRef The problem is - that an empty file named Global.jpeg need to be placed the development machine in order to build the msi. Is there an elegant solution for taking a file placed at the source location of the msi? Regards. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users