[WiX-users] XmlConfig

2008-12-01 Thread md5hans
Hi! I'm trying to use XmlConig to modify an existing file on the computer. Below is a testconfiguration that I have started with to see if I can make XmlConfig to do want I want it to do. When I run the installtion no errors are reported, the dummy.xml is installed but the c:\temp\settings.xml i

[WiX-users] Please unsubscribe me

2008-12-01 Thread derek johnston
- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in t

Re: [WiX-users] Install Localisation

2008-12-01 Thread Neil Sleightholm
I read that and at first it made sense but as it doesn't put it in context I chose to ignore it! I can see it makes sense if the French install should run side-by-side with German but if the only difference is the install wizard UI and this is controlled via a transform not separate MSI I would exp

Re: [WiX-users] [WIX-Users] Not allowed to installer a folder with spaces in it?

2008-12-01 Thread Peter McClymont
Thanks you guys are right on the Money. Thanks for your help. On Tue, Dec 2, 2008 at 7:30 PM, Eitan Behar <[EMAIL PROTECTED]> wrote: > Hi Peter, > > Directory refers to a Directory Id, therefore it cannot contains spaces. > > What you want to accomplish is: > > > > Guid="FF63AA3E-C02D-11

Re: [WiX-users] Install Localisation

2008-12-01 Thread Neil Sleightholm
Good point (I don't care as we only do major upgrades - at the moment) but this is a simple solution. Neil -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: 01 December 2008 22:43 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Inst

Re: [WiX-users] [WIX-Users] Not allowed to installer a folder with spaces in it?

2008-12-01 Thread Eitan Behar
Hi Peter, Directory refers to a Directory Id, therefore it cannot contains spaces. What you want to accomplish is: On Tue, Dec 2, 2008 at 8:11 AM, Peter McClymont <[EMAIL PROTECTED]>wrote: > Hi All, > > I have this code snippet in my WIX script,

Re: [WiX-users] [WIX-Users] Not allowed to installer a folder with spaces in it?

2008-12-01 Thread Bob Arnson
Peter McClymont wrote: > > The CreateFolder/@Directory attribute value is the ID of a directory. If you want to create a subdirectory with that name, use a Directory element under the DirectoryRef. -- sig://boB http://joyofsetup.com/ --

[WiX-users] [WIX-Users] Not allowed to installer a folder with spaces in it?

2008-12-01 Thread Peter McClymont
Hi All, I have this code snippet in my WIX script, Which should create a directory called Documents\My iCalibra Flow Plans Instead when I compile it I get an error, The CreateFolder/@Directory attribute's value, 'My iCalibra Flow Plans', is not a

Re: [WiX-users] [WIX-Users]

2008-12-01 Thread Rob Mensching
http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx#system_folder_properties -Original Message- From: Peter McClymont [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 20:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] [WIX-Users] Hi All, I have a WIX instal

[WiX-users] My documents folder from within WIX

2008-12-01 Thread Peter McClymont
Hi All, I have a WIX installer that uses the 'LocalAppDataFolder' property to get the data folder directory (it is different for different OSs). I want to do the same for the 'My documents' folder. What is the corresponding property? Thanks, Peter. --

[WiX-users] [WIX-Users]

2008-12-01 Thread Peter McClymont
Hi All, I have a WIX installer that uses the 'LocalAppDataFolder' property to get the data folder directory (it is different for different OSs). I want to do the same for the 'My documents' folder. What is the corresponding property? Thanks, Peter. --

Re: [WiX-users] How to run another msi from our msi installer

2008-12-01 Thread Peter McClymont
Running an msi from another msi is not supported, and will not work. What you have to do is create a bootstrapper. This is an exe file that will check for certain prerequisites and install them, and then it will run your msi. I have found the 'bootstrap manifest generator' to be of use (it is a b

Re: [WiX-users] any tips on why the following xmlfile machine.config install changes are not working

2008-12-01 Thread Rob Mensching
Yeah, the InstallerPlatform="$(InstallerPlatform)" Is probably being set. You can see it as the -arch switch to candle. -Original Message- From: Robert O'Brien Sent: Monday, December 01, 2008 19:43 To: Rob Mensching; General discussion for Windows Installer XML toolset. Subject:

[WiX-users] How to run another msi from our msi installer

2008-12-01 Thread zhwee ant
Hello , how can i run another msi (like xml parse installer , or dot net framework) from my installer? ___ Dapatkan nama yang Anda sukai! Sekarang Anda dapat memiliki email di @ymail.com dan @rocketmail.com.

Re: [WiX-users] any tips on why the following xmlfile machine.config install changes are not working

2008-12-01 Thread Robert O'Brien
Not sure I'm just using standard issue file | new | wix project template generated wixproj to wrap build process with Build Configuration Platform=x64 enabled. -Original Message- From: Rob Mensching Sent: Monday, December 01, 2008 7:40 PM To: Robert O'Brien; General discussion for Window

Re: [WiX-users] any tips on why the following xmlfile machine.config install changes are not working

2008-12-01 Thread Rob Mensching
Are you setting the platform on the command-line to candle? -Original Message- From: Robert O'Brien Sent: Monday, December 01, 2008 19:39 To: Rob Mensching; General discussion for Windows Installer XML toolset. Subject: RE: [WiX-users] any tips on why the following xmlfile machine.config

Re: [WiX-users] any tips on why the following xmlfile machine.config install changes are not working

2008-12-01 Thread Robert O'Brien
Bug Filed. For clarification how come my locally implemented identical registry search based property assignment, excerpt from earlier shown here, would be working in 64-bit installer usage? -Original Message- From: Rob Mensching Sent: Monday, D

Re: [WiX-users] any tips on why the following xmlfile machine.config install changes are not working

2008-12-01 Thread Rob Mensching
No, the problem is that the RegistrySearch isn't set 64-bit. So it's always searching 32-bit. That's the bug. Can you file it? -Original Message- From: Robert O'Brien Sent: Monday, December 01, 2008 19:15 To: Rob Mensching; General discussion for Windows Installer XML toolset. Subject:

Re: [WiX-users] any tips on why the following xmlfile machine.config install changes are not working

2008-12-01 Thread Robert O'Brien
The NetFxExtension.wxs contains the following for assignment of NETFRAMEWORK20INSTALLROOTDIR which I would expect to do the right thing for Target=X64 build output cases. Could the issue be that C:\Program Files (x86)\Window

Re: [WiX-users] any tips on why the following xmlfile machine.config install changes are not working

2008-12-01 Thread Rob Mensching
Sounds like a bug in the NETFRAMEWORK20INSTALLROOTDIR not following 64-bit correctly. -Original Message- From: Robert O'Brien [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 16:24 To: Robert O'Brien; 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users

Re: [WiX-users] Permanent Component being removed on uninstall

2008-12-01 Thread Bob Arnson
Dylan Moline (Volt) wrote: > Un-registering it shouldn't remove it should it? > No, it's merely indicating that this product is going away, so should no longer be considered a "client" of the component. Look elsewhere in the log for that registry key. Also look at custom actions that directly

Re: [WiX-users] Debugging ExecuteSqlStrings

2008-12-01 Thread Bob Arnson
Rui Fan (MDT InfoTech) wrote: > Error 26204. Error -2147217900: failed to execute SQL string, error detail: > Incorrect syntax near the keyword 'with'. …… > MSI (s) (68!24) [15:49:56:154]: Product: Microsoft MAA - Core Database -- > Error 26204. Error -2147217900: failed to execute SQL string, er

Re: [WiX-users] cannot find VCProjectEngine (again, ignore the previous one if it went through)

2008-12-01 Thread Bob Arnson
Jason Ding wrote: > Thanks for the reply. > I guess you misunderstood my question - I am using VC2008 and .Net > Framework 3.5, but when I build I got error message about missing > VCProjectEngine and suggest to install VC2005 and .Net Framework 2.0. > I understand that. I'm asking if you're t

Re: [WiX-users] Install Localisation

2008-12-01 Thread Bob Arnson
Neil Sleightholm wrote: > 2. Every time I run light it will create a new product code but I don't > want that, I want one product code and simply install with a different > UI language. From what I have read this seems to be a valid approach. > The MSI SDK disagrees. In fact, it's unusually una

Re: [WiX-users] How would people handle this situation

2008-12-01 Thread Bob Arnson
Sean Farrow wrote: > do a registry search for the uninstallation executable, if the exe is > found run it. > I can accomplish the first part (registry search), but I need the custom > action to come before any ui dialogues. Wher should I sequence this ca? > Unless the uninstaller runs with limi

Re: [WiX-users] Permanent Component being removed on uninstall

2008-12-01 Thread Dylan Moline (Volt)
Yes, with or without a KeyPath there, is still is removed. ~Dylan -Original Message- From: Wilson, Phil [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 4:26 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Permanent Component being removed on

Re: [WiX-users] Permanent Component being removed on uninstall

2008-12-01 Thread Dylan Moline (Volt)
The log is showing this: MSI (s) (98:20) [16:09:09:028]: Disallowing uninstallation of component: {5703B886-7D29-45D1-9EFF-35198D58EC20} since another client exists And then this: MSI (s) (98:2C) [16:18:48:399]: Executing op: ComponentUnregister(ComponentId={5703B886-7D29-45D1-9EFF-35198D58EC20}

Re: [WiX-users] Permanent Component being removed on uninstall

2008-12-01 Thread Wilson, Phil
And the Component table has something in KeyPath? Phil Wilson -Original Message- From: Dylan Moline (Volt) [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 3:01 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Permanent Component being removed on uninstall Trying

[WiX-users] Debugging ExecuteSqlStrings

2008-12-01 Thread Rui Fan (MDT InfoTech)
Hi experts, I’m using WiX 3. I’m trying to debug a possible error in the sql custom action: MSI (s) (68:B4) [15:49:43:129]: Executing op: CustomActionSchedule(Action=ExecuteSqlStrings,ActionType=25601,Source=BinaryData,Target=**,CustomActionData=**) MSI (s) (68:F8) [15:49:43:1

Re: [WiX-users] any tips on why the following xmlfile machine.config install changes are not working

2008-12-01 Thread Robert O'Brien
Btw - I was using initially using the following to arrive at my NetFramework20ConfigDir setting for use referencing machine.config file. registry search result. In case of $(var.Platform) = "x64" build output the installer was given me a systems is was giving me a WixNetFxExtensions

Re: [WiX-users] any tips on why the following xmlfile machine.config install changes are not working

2008-12-01 Thread Robert O'Brien
Got this to work switching XmlFile entry for install pass to following XmlConfig entry. -Original Message- From: Robert O'Brien [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 11:39 AM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] any tips

Re: [WiX-users] WixDIFxAppExtension and MergeModules

2008-12-01 Thread Rob Mensching
Hmm, that really surprises me. I thought that mergemod.dll was smarter than that. There are no differences on those rows where the merge conflicts happen? Hmm. -Original Message- From: Moradi, Ari [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2008 11:59 To: General discussion

[WiX-users] Application Installation and Patching Survey for Windows

2008-12-01 Thread Richard
The Windows SDK blog is asking: How should installation and patching work in future versions of Windows? -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download Legalize

Re: [WiX-users] Permanent Component being removed on uninstall

2008-12-01 Thread Rob Mensching
Verbose log file will explain why it is being uninstalled. -Original Message- From: Dylan Moline (Volt) [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 15:01 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Permanent Component being removed on uninstall Trying to create

[WiX-users] Permanent Component being removed on uninstall

2008-12-01 Thread Dylan Moline (Volt)
Trying to create a registry key which is edited by an application, and keep the entire key after the program is uninstalled (incase it is re-installed, want the stored data to remain) Here is the sample code. However, every time I install, it creates the proper key, but when I uninstall via ARP

Re: [WiX-users] Install Localisation

2008-12-01 Thread Rob Mensching
Most people that are attempting to do what you are doing, care about their ProductCodes so they can tightly manage upgrades in the future. -Original Message- From: Neil Sleightholm [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 14:33 To: General discussion for Windows Installer

Re: [WiX-users] Install Localisation

2008-12-01 Thread Neil Sleightholm
I guess it is laziness on my part :-) I am just going to have to write some code. I just strikes me as a common requirement to generate a transform without a different ProductCode - I guess that makes it a feature request. May be it should be a torch change rather than light. I'll look at that pa

Re: [WiX-users] Install Localisation

2008-12-01 Thread Rob Mensching
2. The PackageCode should be regenerated with every run of light. If not, that would be a bad bug. There is no scope like you are asking for. IMHO, if you want to manage your ProductCode then you should manage your ProductCode. You could open a feature request if you want. Nothing in you s

Re: [WiX-users] Install Localisation

2008-12-01 Thread Neil Sleightholm
2. Is there any scope for making this optional or replacing Product/@Id="*" on the first pass of light? The PackageCode is not regenerated on every run of light, is this not the same? I can't find any good documentation on Windows Installer localisation, do you think I am doing the right thing to

[WiX-users] Prevent RemoveFolder actions during an upgrade

2008-12-01 Thread Colin Bleckner
Hey all, My installer uses to uninstall any previous versions of my application during an install, which is working fine for the most part. However, one of my components contains of a bunch of registry settings that I clean up on uninstall. I'm currently achieving this by including a in that c

Re: [WiX-users] Install Localisation

2008-12-01 Thread Rob Mensching
1. Don't know. 2. If you use Product/@Id="*" then it always generates a new ProductCode. If you don't want that, don't use "*". 3. No. There are cases where you'll end up with a binary .wixout even if you don't use -bf, especially around the use of CustomActions. -Original Message

[WiX-users] any tips on why the following xmlfile machine.config install changes are not working

2008-12-01 Thread Robert O'Brien
Any tips on why the following xmlfile machine.config install changes are not working? I'm using the following component entries: To try and get this new element created during install but finding that no machine.config changes exist after setup completes.

Re: [WiX-users] Detecting previous installs

2008-12-01 Thread Rob Mensching
Nope, that's the Windows Installer behavior. -Original Message- From: Chad Petersen [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 10:41 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Detecting previous installs In our past releases we had a vers

[WiX-users] Detecting previous installs

2008-12-01 Thread Chad Petersen
In our past releases we had a version 2.5.7.1 installer and a version 2.5.7.9 installer. Now a newer installer needs to detect the 2.5.7.9, but it ignores the final fourth digit and if they have the 2.5.7.1 only installed then the LaunchCondition is ignored. Any other way to tell if 2.5.7.9 is inst

Re: [WiX-users] cannot find VCProjectEngine (again, ignore the previous one if it went through)

2008-12-01 Thread Jason Ding
Thanks for the reply. I guess you misunderstood my question - I am using VC2008 and .Net Framework 3.5, but when I build I got error message about missing VCProjectEngine and suggest to install VC2005 and .Net Framework 2.0. *** Here is message: C:\Program Files (x86)\MSBuild

Re: [WiX-users] Show/Hide Textbox on event of DropDown

2008-12-01 Thread Richard
In article <[EMAIL PROTECTED]>, sujanakar reddy <[EMAIL PROTECTED]> writes: > In my installer (using WiX 3.0) I am displaying a list of items in ComboBox c ontrol and providing a value of "Create New" in my dropdown so that if the user chooses the "Create New" item, I want to show textbox b

Re: [WiX-users] App~Search query

2008-12-01 Thread Richard
In article <[EMAIL PROTECTED]>, "Sean Farrow" <[EMAIL PROTECTED]> writes: > I am in the process of coding a msi. I need to search for multiple > applications and only display a message and about the installation if > none of the applications are found. Am I better off using an AppSearch > el

Re: [WiX-users] Install Localisation

2008-12-01 Thread Neil Sleightholm
Having worked through a few bugs in light I am now back to looking at this problem again. What I would like to do is create an MSI with a separate transform (MST) for each language. So the process I intend to use is: 1. Create wixout for my install using the -sloc parameter. 2. Link the wixout to

Re: [WiX-users] Scheduling a Reboot After InstallFinalize

2008-12-01 Thread jnewton
Thanks guys, appreciate the help. -Jonathan Wilson, Phil wrote: > > The sequencing of ScheduleReboot isn't usually very important - you can > put it anywhere, and it just sets a flag to prompt for a reboot after the > install. The action itself doesn't need to be after InstallFinalize. It's >

Re: [WiX-users] Scheduling a Reboot After InstallFinalize

2008-12-01 Thread Wilson, Phil
The sequencing of ScheduleReboot isn't usually very important - you can put it anywhere, and it just sets a flag to prompt for a reboot after the install. The action itself doesn't need to be after InstallFinalize. It's the ForceReboot action that is immediate. Phil Wilson -Original Mes

Re: [WiX-users] Scheduling a Reboot After InstallFinalize

2008-12-01 Thread Rob Mensching
1. Fair enough. Sharing with multiple products (not all using WiX toolset) pretty much requires Merge Modules. 2. Ahh, yeah, that sounds right. MSI overrides MSM sequencing. I've avoided MSMs for quite a while moving to .wixlibs... but all my products use WiX so I can do that. 3. Drivers

Re: [WiX-users] Scheduling a Reboot After InstallFinalize

2008-12-01 Thread jnewton
This MSM is currently shared by not only the product I create, but also by a few other products internally. I inherited this code from another developer and I'm willing to try different routes to conform to better practice. I thought that if an MSI and MSM both defined some standard action wit

Re: [WiX-users] Scheduling a Reboot After InstallFinalize

2008-12-01 Thread Rob Mensching
Oh, Merge Module, well that changes everything. Yeah, MSI SDK doesn't allow that. Why are you using a Merge Module? Very unfriendly of a Merge Module to shove a reboot into someone else's product... especially if they already have a ScheduleReboot elsewhere. -Original Message- From:

Re: [WiX-users] Scheduling a Reboot After InstallFinalize

2008-12-01 Thread jnewton
I think the problem is that I'm trying to perform this action in a Merge Module. I have a merge module that installs some underlying driver files and needs a reboot. The code you mentioned below does work for a MSI but not a MSM which according to Microsoft shouldn't anyway. I am currently doing t

Re: [WiX-users] How would people handle this situation

2008-12-01 Thread Rob Mensching
After CostFinalize? -Original Message- From: Sean Farrow [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 00:08 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How would people handle this situation Hi: I have a situation when by I am writing an msi for a product which c

Re: [WiX-users] elevating twice

2008-12-01 Thread Rob Mensching
You'd have to launch your configuration tool as a deferred async CustomAction. -Original Message- From: Calin Iaru [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 06:54 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] elevating twice If UAC is enabl

Re: [WiX-users] Changing a registry key

2008-12-01 Thread Rob Mensching
Read about how the KeyPath affects the Component install state. If you look in a verbose log file, I expect you'll see your Componentisn't getting installed a second time because the Component thinks it is already installed. -Original Message- From: Nord, James [mailto:[EMAIL PROTECTED]

Re: [WiX-users] How do you skip overwriting existing registry value

2008-12-01 Thread Rob Mensching
Read about KeyPaths for Components in the MSI SDK. You'll see how to control the install behavior of the Component. -Original Message- From: Yu, Brian [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 02:55 To: General discussion for Windows Installer XML toolset. Subject: [WiX-u

Re: [WiX-users] Always replace file

2008-12-01 Thread Rob Mensching
Again, read about KeyPath and file versioning in the MSI SDK. -Original Message- From: Nord, James [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 03:00 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Always replace file Hi all, How can I get an install to always repla

Re: [WiX-users] Scheduling a Reboot After InstallFinalize

2008-12-01 Thread Rob Mensching
Works for me. -Original Message- From: jnewton [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 08:10 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Scheduling a Reboot After InstallFinalize I'm trying to convert some old Wise code over

[WiX-users] Scheduling a Reboot After InstallFinalize

2008-12-01 Thread jnewton
I'm trying to convert some old Wise code over to WiX and ran into a problem where I need to invoke the ScheduleReboot action after InstallFinalize. According to WiX and Microsoft, you can't use the BaseAction column when using standard actions which is what I need to do. I always want ScheduleRebo

[WiX-users] elevating twice

2008-12-01 Thread Calin Iaru
If UAC is enabled, then my MSI will require one elevation prompt during installation. This is acceptable, since registry keys are written and other components such as drivers are installed. What I would like to do is to circumvent a second elevation when the MSI file is scheduled to launch an i

Re: [WiX-users] Changing a registry key

2008-12-01 Thread Nord, James
> Hi all, > > as part of my install I have a custom dialog that sets a > value. I need to keep this value after the product is > uninstalled or changed so that subsequent installs can pick > up the previous settings. > > I currently have the following: > > Action="create"> Value="[PROXY

[WiX-users] Always replace file

2008-12-01 Thread Nord, James
Hi all, How can I get an install to always replace an existing file on a maintenance change or repair option? The file is a config file not a binary with versioning. Regards, /James

[WiX-users] Changing a registry key

2008-12-01 Thread Nord, James
Hi all, as part of my install I have a custom dialog that sets a value. I need to keep this value after the product is uninstalled or changed so that subsequent installs can pick up the previous settings. I currently have the following: inside the install directory section and reference

[WiX-users] How do you skip overwriting existing registry value

2008-12-01 Thread Yu, Brian
My installer writes default values to the registry for a new install However, I'd like the installer to skip writing if it already exists as they are user created - This SF.Net email is sponsored by the Moblin Your Move Deve

[WiX-users] How would people handle this situation

2008-12-01 Thread Sean Farrow
Hi: I have a situation when by I am writing an msi for a product which currently uses a non-windows installer based installation method. Wha I want to acomplish is the following: do a registry search for the uninstallation executable, if the exe is found run it. I can accomplish the first part (r