Re: [WiX-users] product id during upgrades

2010-07-20 Thread subrat agasti
This applys to merge module also? On Tue, Jul 20, 2010 at 6:30 PM, Peter Shirtcliffe wrote: > You dont need to use * for product code, as long as you do change the > product code by hand when you make a major upgrade. To make a minor > upgrade the produce code must remain constant anyway. > http:

Re: [WiX-users] default directory in WixUI_InstallDir

2010-07-20 Thread subrat agasti
What do i have to do to install to a drive where the OS is installed? How safe is it to use windowsvolume and rootdrive properties? On Tue, Jul 20, 2010 at 10:00 PM, Blair wrote: > Place your directory under a well-known directory. TARGETDIR defaults to > the > root of the drive with the largest

Re: [WiX-users] Directory xxx is in the user profile but is notlisted in the RemoveFile table

2010-07-20 Thread subrat agasti
the problem was i had not mention the directody attribute for . If the 'Directory' attribute is omitted, it takes the directory of the parent component. In my case, it is a directory with Id="EFIMonarch". This explains why i was getting the warning for the outer directory (ProgramMenuDir), but didn

Re: [WiX-users] Pre-requisite check for WES7 and WES2009 using WIX

2010-07-20 Thread vijay chander
Hi Brian, Thanks for the help, your reply had helped me... With Regards, Vijay > Message: 2 > Date: Tue, 20 Jul 2010 13:28:14 -0700 > From: Brian Rogers > Subject: Re: [WiX-users] Pre-requisite check for WES7 and WES2009 >using WIX > To: "General discussion for Windows Installer XML to

[WiX-users] Registering COM DLLs using HEAT Tool.

2010-07-20 Thread vijay chander
Hi All, I have read that we can register dlls using heat tool, just by using .wxs file which will be generated by heat tool. So can anyone tell me how to register a COM DLL using HEAT Tool? With Regards, Vijay -- This SF.n

Re: [WiX-users] Passing Values from the ProductModule to a MergeModule

2010-07-20 Thread John Bergman
Sorry to be a bit dense, where/how would the markup look for the substitution element? I get it goes with the Module, (I assume the merge module), but I to get what the values would be in my case. After I have it working, I'll post again so that others can see how this ended up -Ori

Re: [WiX-users] Passing Values from the ProductModule to a MergeModule

2010-07-20 Thread John Bergman
Currently it is internally used, but I expect that this particular merge module will be used by the client to customize their install as well. -Original Message- From: Christopher Painter [mailto:chr...@deploymentengineering.com] Sent: Tuesday, July 20, 2010 9:22 PM To: General discussio

Re: [WiX-users] The DirProperty in RemoveFile table must be a property name in Directory table?

2010-07-20 Thread Elfe Xu
I've changed the property name to all up cases, but still failed :( -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/The-DirProperty-in-RemoveFile-table-must-be-a-property-name-in-Directory-table-tp5317922p5319532.html Sent from the wix-users mailing

Re: [WiX-users] Passing Values from the ProductModule to a MergeModule

2010-07-20 Thread Christopher Painter
Do you redistribute your merge modules or are they only used inside your organization to assist in distributed development?  If the answer is the latter, you can safely ignore this message.  I've been doing so for 5 years with no down sides.   Christopher Painter, Author of Deployment Engineer

[WiX-users] How do I use bootstraper ???? need example

2010-07-20 Thread Bhaumik Barot
I have 3rd party exe which is a msi and also I have my app.msi. I can not call msi within msi . How do I use bootstarpper in my .wixproj ? Any example would help a lot. -- Bhaumik Barot -- This SF.net email is sponsored

Re: [WiX-users] Passing Values from the ProductModule to a MergeModule

2010-07-20 Thread Blair
You probably also need the Substitution element (to hook the Configuration values into the Property table entries from your module). See the following pages on MSDN: http://msdn.microsoft.com/library/aa368027.aspx http://msdn.microsoft.com/library/aa370045.aspx http://msdn.microsoft.com/library/aa

Re: [WiX-users] Passing Values from the ProductModule to a MergeModule

2010-07-20 Thread Blair
Try the Configuration element under Module, and use the ConfigurationData element under Merge to "hook it up". -Original Message- From: John Bergman [mailto:john.berg...@xpedienttechnologies.com] Sent: Tuesday, July 20, 2010 5:17 PM To: General discussion for Windows Installer XML toolset

Re: [WiX-users] Passing Values from the ProductModule to a MergeModule

2010-07-20 Thread John Bergman
The warning is comforting :-()... Warning 6 The Property/@SuppressModularization attribute has been set to 'yes'. Using this functionality is strongly discouraged; it should only be necessary as a workaround of last resort in rare scenarios. So I updated the MergeModule as follows:

Re: [WiX-users] Passing Values from the ProductModule to a MergeModule

2010-07-20 Thread Blair
As Christopher said: -Original Message- From: John Bergman [mailto:john.berg...@xpedienttechnologies.com] Sent: Tuesday, July 20, 2010 4:42 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Passing Values from the ProductModule to a MergeModu

[WiX-users] Bootstrapper to call MSI chain

2010-07-20 Thread Bhaumik Barot
I have 3 msi which I need to execute in order. Should I create a new msi to call this command "SETUPBLD -title "My Install" -ms X.MSI -p X.MSP -s setup.exe -out test.exe " I have to give one MSI package to user to install everything.Please help.. -- Bhaumik Barot -

Re: [WiX-users] Passing Values from the ProductModule to a MergeModule

2010-07-20 Thread John Bergman
Slight Mis-post In the MergeModule, I have When I look at the log, I can see that my custom actions inside the merge module are working, however, the data is never received from the Product Module (Here is the snippet of the log)... MSI (s) (F4:C0) [18:32:04:396]: Doing action: Set

Re: [WiX-users] Passing Values from the ProductModule to a MergeModule

2010-07-20 Thread Christopher Painter
Modules don't exist in an installer.  Their components are merged and associated to features and then they go away.   That said, you need to define the property elements for ServiceUser and so on in the merge module with no default value and SuppressModularization attribute set to yes. The

[WiX-users] Passing Values from the ProductModule to a MergeModule

2010-07-20 Thread John Bergman
This post is a little long, but hopefully it provides enough information to provide some insight into what the problem is that I am having, and when a solution or directions are provided, it will provide enough context to help others who may have the same requirement later. I have been strugglin

Re: [WiX-users] [Wix-users] Installing a windows service based on user give account

2010-07-20 Thread John Bergman
Can I ask why you are using SERVICEACCOUNTFULLNAME as a parameter, rather than doing something like this? -Original Message- From: Stelios Kyprou [mailto:stelios.kyp...@formicary.net] Sent: Tuesday, July 20, 2010 4:20 AM To: General discussion for Windows Installer XML toolset. Sub

[WiX-users] Wix3 heat - create a wxi from wxs fragment through transform

2010-07-20 Thread Leif Ringstad
Hi After struggling for too many hours to get this transform working, I thought I would share it with the list. http://techandaccessibility.blogspot.com/2010/07/using-wix3-and-heat-to-create-wxi.html I played

Re: [WiX-users] Pre-requisite check for WES7 and WES2009 using WIX

2010-07-20 Thread Brian Rogers
So, from what I have been told by the Windows Embedded team, this is how you can check. WES 7 --- HKLM\Software\Microsoft\Windows Embedded Standard 7\Setup WES9 --- HKLM\Software\Microsoft\Windows Embedded\ProductName = "Windows Embedded Sta

Re: [WiX-users] .NET Framework 2.0 Bootstrapper

2010-07-20 Thread Thode, Katelyn
A quick follow up question - Dotnetfx is for 32-bit os. What is for 64-bit os and where can I download it? Thanks, Katelyn -Original Message- From: Daniel Moody [mailto:dani...@gibbscam.com] Sent: Tuesday, July 20, 2010 1:53 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-user

Re: [WiX-users] .NET Framework 2.0 Bootstrapper

2010-07-20 Thread Thode, Katelyn
I was able to resolve the issue by adjusting the path. Thanks for your help. -Original Message- From: Daniel Moody [mailto:dani...@gibbscam.com] Sent: Tuesday, July 20, 2010 1:53 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] .NET Framework 2.0 Bootstrapper Katelyn, I

Re: [WiX-users] .NET Framework 2.0 Bootstrapper

2010-07-20 Thread Thode, Katelyn
Thanks for the response. I am on a 32-bit OS, so I changed the path to "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\". When I built the project, MSB3155 went away, but I am still getting error MSB3147 about not being able to find setup.bin. -Original Message- From: Dani

Re: [WiX-users] .NET Framework 2.0 Bootstrapper

2010-07-20 Thread Daniel Moody
Katelyn, I had the same issue myself. In my case (on a 64-bit OS), the .bin files were installed in the "Program Files (x86)" folder rather than "Program Files". I didn't copy any files around that I can recall. I used the following "Path" statement: Path="C:\Program Files (x86)\Microso

[WiX-users] The DirProperty in RemoveFile table must be a property name in Directory table?

2010-07-20 Thread Elfe Xu
Hi, I've wrote a RemoveWholeFolder custom action, to remove all files and sub folders. Here is the code of addthe record to RemoveFile table. private static void AddItemToRemoveFileTable(DirectoryInfo folder, string componentId, Session session, View view) { string fi

Re: [WiX-users] Upgrade in per-user folder generates double entries in Add/Remove programs

2010-07-20 Thread Blair
Was the value of ALLUSERS property different between the two installations? Per-machine installations and per-user installations are basically in separate "worlds" for Windows Installer and shell components such as ARP show a combined view of both worlds. Most programs tend to be either per-user o

Re: [WiX-users] how do i conditional place a file with different version.

2010-07-20 Thread Blair
Two components, both associated with the same directory, with different conditions. -Original Message- From: sd dd [mailto:greme4u2...@hotmail.com] Sent: Tuesday, July 20, 2010 10:15 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] how do i conditional place a file with differe

[WiX-users] .NET Framework 2.0 Bootstrapper

2010-07-20 Thread Thode, Katelyn
I am trying to use Microsoft Visual Studio 2005's bootstrapper to install the .NET Framework 2.0 if necessary. Based on documentation I have found, I have the following in my .wixproj file: .NET Framework 2.0 When I try to build the project, I get the following

[WiX-users] Upgrade in per-user folder generates double entries in Add/Remove programs

2010-07-20 Thread David Louis
Hi, I modified the WixUI_Advanced sample to prevent downgrading by adding these lines: NOT NEWERVERSIONDETECTED OR Installed Of course, UPGRADE_CODE_UID is the same UID than the product's UpgradeCode property. This works well as long as I install to the pe

Re: [WiX-users] Custam Action Install conditions (why is CA executed upon uninstall when condition is set to NOT INSTALLED )

2010-07-20 Thread Blair
Two issues: 1st issue (related to both your problem AND the conditions you supplied): INSTALLED is NOT the same as Installed. Installed is defined by Windows Installer, INSTALLED is a different property (that is public) that you can use for whatever you want, but you will need to supply your own d

[WiX-users] how do i conditional place a file with different version.

2010-07-20 Thread sd dd
hi all, so i have this situation that i need to place a file to a directory with a fixed name, but based on the env, the content needs to be copied from different source. such as : target file ...\config.xml sources: if (prod) prod_config.xml if (test)test_conf

Re: [WiX-users] default directory in WixUI_InstallDir

2010-07-20 Thread Blair
Place your directory under a well-known directory. TARGETDIR defaults to the root of the drive with the largest free space, so you need some other directory as a closer ancestor of your directory that Windows Installer defines to some system-defined folder. -Original Message- From: subrat

Re: [WiX-users] Directory xxx is in the user profile but is notlisted in the RemoveFile table

2010-07-20 Thread Pally Sandher
Try removing the Name attribute from the ProgramMenuFolder Directory element & try giving your RegistryValue a Name attribute. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the *

Re: [WiX-users] Custam Action Install conditions (why is CA executed upon uninstall when condition is set to NOT INSTALLED )

2010-07-20 Thread Peter Shirtcliffe
Property names are case sensitive. It should be "NOT Installed" NOT INSTALLED always succeeds because its not defined anywhere. -Original Message- From: daniel.knoep...@noser.com [mailto:daniel.knoep...@noser.com] Sent: 20 July 2010 17:16 To: wix-users@lists.sourceforge.net Subject: [WiX

Re: [WiX-users] default directory in WixUI_InstallDir

2010-07-20 Thread Pally Sandher
1 - Free more space on your C: drive or fill your D: drive. http://msdn.microsoft.com/en-us/library/aa371372.aspx 2 - Author your directory structure correctly? Code samples are a big help when you're asking vague questions like "why doesn't this work". Palbinder Sandher Software Deployment & I

[WiX-users] Custam Action Install conditions (why is CA executed upon uninstall when condition is set to NOT INSTALLED )

2010-07-20 Thread daniel.knoepfel
Hi I have some problems when it comes to install conditions. There are some custom actions that should only run upon the first installation and not upon uninstall, upgrade, repair, modify..etc. The conditions i tried to use was the following: NOT INSTALLED However, upon uninstall the actio

Re: [WiX-users] Custom Action not running

2010-07-20 Thread Thode, Katelyn
Thank you so much for all of your help. This took care of the problem and the custom action is now correctly running on both xp and vista. -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Monday, July 19, 2010 6:35 PM To: wix-users@lists.sourceforge.net Subject: Re: [Wi

Re: [WiX-users] difx:Driver isn't installing driver

2010-07-20 Thread Blair
If I recall correctly the .inf file must be the keypath of the component that Difx is installing. -Original Message- From: David Battey [mailto:dbat...@phoenixcon.com]

Re: [WiX-users] DTF: ReinstallProduct with commandLine property

2010-07-20 Thread Peter Shirtcliffe
Reinstall is basically installing when youre already installed, so it should be installstate_local. -Original Message- From: SimonKnight6600 [mailto:simonschwei...@gmail.com] Sent: 20 July 2010 07:32 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] DTF: ReinstallProduct with c

[WiX-users] difx:Driver isn't installing driver

2010-07-20 Thread David Battey
I've got the following code I have read on the list that the may not work, but in this case it's true, so that's not an issue. When I run my msi, the driver is not installe

Re: [WiX-users] product id during upgrades

2010-07-20 Thread Peter Shirtcliffe
You dont need to use * for product code, as long as you do change the product code by hand when you make a major upgrade. To make a minor upgrade the produce code must remain constant anyway. http://msdn.microsoft.com/en-us/library/aa370579%28VS.85%29.aspx You must change the package code every ti

[WiX-users] product id during upgrades

2010-07-20 Thread subrat agasti
Hi, Is it necessary to have "*" as product id to be able to make upgrades?Do i need to change the package code and product code all the time to do a major upgrade? Regards, Subrat Agasti -- This SF.net email is sponsored

Re: [WiX-users] Logging in deferred CA

2010-07-20 Thread Yan Sklyarenko
Why not? You can use Session.Log() in deferred CA as well. -- Yan -Original Message- From: Stelios Kyprou [mailto:stelios.kyp...@formicary.net] Sent: Tuesday, July 20, 2010 13:05 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Logging in deferred CA Hello!

[WiX-users] Logging in deferred CA

2010-07-20 Thread Stelios Kyprou
Hello! I was wondering, how can i log stuff within a deferred custom action, since i can't use session.Log? Regards, Stelios -- Stelios Kyprou Systems Engineer Formicary - delivering quality financial technology solutions(TM) www.formicary.net -

Re: [WiX-users] [Wix-users] Installing a windows service based on user give account

2010-07-20 Thread Stelios Kyprou
Or i realised i can use Account and give it "LocalSystem". This way you can have one component for both. In case anyone is wondering, you can do the following: I have 4 properties: WINDOWSDOMAIN WINDOWSPASSWORD WINDOWSUSERNAME SERVICEACCOUNTF

Re: [WiX-users] {INSTALLLOCATION] Not Expanding to It's Value in a Type 2 Custom Action

2010-07-20 Thread Peter Shirtcliffe
Deferred custom actions have access to a very limited set of properties. This blog has a good explanation http://blogs.technet.com/b/alexshev/archive/2008/03/25/property-does-not -exist-or-empty-when-accessed-from-deferred-custom-action.aspx Look up "Quiet Execution Custom Action" (qtexec) in the

Re: [WiX-users] WixFirewallExtension from 3.5

2010-07-20 Thread Neil Sleightholm
Yes I tried that too, although it looks like it is loading the correct file (i.e. the FullPath is correct in the properties) it still sets the extension to -ext WixFirewallExtension.dll which candle the tries to load from the bin folder. Neil -Original Message- From: Michael Osmond [mailt