[WiX-users] Vs90Setup from WixVsExtension

2009-07-13 Thread Anton de Wit
Hi all, new to the list and thought I should start out with a question :) At work we recently migrated to Wix 3 and visual studio 2008. I need to build some installers that will install our visual studio packages. In our previous version we used wix 2 and targeted Visual Studio 2005. At that mome

Re: [WiX-users] Can I control the UI when uninstall

2009-07-13 Thread zhihai guo
In reality I just don't want the uninstall can be interrupted. It is possible? Thank you. 2009/7/14 zhihai guo > Thank you for your answer. > > And can I disable the "cancel" button of the prepareDlg and the > progressDlg when uninstall? > > > > 2009/7/3 Rob Mensching > > This was asked pre

Re: [WiX-users] Reference to Wixproj file

2009-07-13 Thread Anton de Wit
Hi, I suppose those references you saw being used were references to .wixlib projects or Wix Library Projects. Those types of projects can indeed be referenced in Wix projects and (afaik) are mainly used for reusable wix sections. Not sure if regular wix projects can be referenced. That would see

Re: [WiX-users] Can I control the UI when uninstall

2009-07-13 Thread zhihai guo
Thank you for your answer. And can I disable the "cancel" button of the prepareDlg and the progressDlg when uninstall? 2009/7/3 Rob Mensching > This was asked pretty recently. > > You don't. > > zhihai guo wrote: > > Hi > > > > Can I control the UI when uninstall in the xml? > > > > Thank

[WiX-users] Reference to Wixproj file

2009-07-13 Thread kathik.shenoy
I don't know if I am talking sense here. But just wanted to know whether it is possible to refer a wixproj in another wixproj. I saw a sample project where they were referring to wixproj file. When I tried to add an wixproj reference to my project, Visual studio puts up an error saying " make sure

[WiX-users] 64bit package compiling

2009-07-13 Thread Igor Lemsky
I have x64 Windows XP. I tried to make 64 bit package by setting attribute: and during compilation got an error: light.exe : error LGHT0310 : Failed to open package for validation. The most common cause of this error is validating an x64 package on an x86 system. To fix this error, run validation

Re: [WiX-users] 32-bit app launching 64-bit MSI problem

2009-07-13 Thread Michael Ballou
No. My customer is using a 3rd party shell type application (Total Commander) that happens to be 32-bit to run the setup. When launching the MSI from there, it gets the error. The MSI log shows the calling process is Msiexec.exe in the SysWow64 folder, so it is the 32-bit one. This also happens w

Re: [WiX-users] 32-bit app launching 64-bit MSI problem

2009-07-13 Thread Wilson, Phil
Are you actually launching msiexec.exe? The one in the SysWow64 folder rather than the 64-bit one? Phil Wilson -Original Message- From: Michael Ballou [mailto:mbal...@eeye.com] Sent: Monday, July 13, 2009 2:47 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] 32-bit app la

Re: [WiX-users] 32-bit app launching 64-bit MSI problem

2009-07-13 Thread John Ludlow
Depending on how your 32-bit app calls the install, it's possible that it's using the 32-bit copy of msiexec.exe, which means that the System32 folder gets redirected by default, which could mean that the file doesn't actually exist. You may be able to use something like ProcessExplorer to verify

Re: [WiX-users] Setup upgrade needs to care for 4th part of versionnumber

2009-07-13 Thread Wilson, Phil
" We also ran into this problem. It is just stupid that visual studio projects use 4 part version numbers and MSI only supports 3." Visual Studio doesn't. We're talking in the context of major upgrades and the ProductVersion property. In Visual Studio that's the Version property of the Setup P

[WiX-users] 32-bit app launching 64-bit MSI problem

2009-07-13 Thread Michael Ballou
I have a simple 64-bit MSI that I made install 1 64-bit dll to System64 folder. Under the following circumstances, MSI gets an error: 1. That file already exists in the real C:\Windows\System32 folder 2. The install is launched through a 32-bit app (not explorer.exe). Anything that can launch an

Re: [WiX-users] Updating web.config field value depending on if machine's 64bit or 32bit

2009-07-13 Thread Erica Chang (PROJECT)
Yes, that make sense for me. But to use xmlFile I have to link to wixca.wixlib, how do I do that? Also when I tried to add Platform node to Package Id I got: The Package element contains an unexpected attribute 'Platform' Thanks lots. Erica -Original Message- From: Phil Sayers [mailto

Re: [WiX-users] Updating web.config field value depending on if machine's 64bit or 32bit

2009-07-13 Thread Don Benson
[ProgramFilesFolder] will be automatically set to the appropriate folder. Windows Installer takes care of this property automatically. On Mon, Jul 13, 2009 at 3:51 PM, Erica Chang (PROJECT) wrote: > What we are doing is installing sample sites that needs the location of the > install as environm

Re: [WiX-users] Updating web.config field value depending on if machine's 64bit or 32bit

2009-07-13 Thread Phil Sayers
To the best of my knowledge As long as your installer is tagged correctly as a 32bit installer by setting the Platform attribute of the Package node to "x86" like this: [PROGRAMFILES] will resolve to "Program Files (x86)" on 64-bit windows, and "Program Files" on 32bit windows This me

Re: [WiX-users] Updating web.config field value depending on if machine's 64bit or 32bit

2009-07-13 Thread Erica Chang (PROJECT)
What we are doing is installing sample sites that needs the location of the install as environment variable in web.config to access a file in the appsettings section. However, because our SDK only builds in 32bit, the web.config needs a file location but I need to detect whether to use %program

Re: [WiX-users] Updating web.config field value depending on if machine's 64bit or 32bit

2009-07-13 Thread Mike Carlson (DEV DIV)
Keep in mind it's better to avoid XmlFile / XmlConfig and just rely on standard IIS custom action functionality, if possible. I don't know enough about your particular scenario to know if it's possible in this case, but if you can throw a [ProgramFilesFolder] into your IIS authoring somewhere in

Re: [WiX-users] Updating web.config field value depending on if machine's 64bit or 32bit

2009-07-13 Thread Don Benson
Windows Installer automatically handles translating the ProgramFilesFolder property for 32-bit vs. 64-bit platforms. Are you using an XMLFile element to set the web.config value? Use the [ProgramFilesFolder] property within the XMLFile element, and you should get what you want. - Don Benson - Trib

Re: [WiX-users] Updating web.config field value depending on if machine's 64bit or 32bit

2009-07-13 Thread Phil Sayers
XmlFile is your friend. -Original Message- From: Erica Chang (PROJECT) [mailto:eri...@microsoft.com] Sent: Monday, July 13, 2009 1:59 PM To: 'wix-users@lists.sourceforge.net' Subject: [WiX-users] Updating web.config field value depending on if machine's 64bit or 32bit Hi, I have a field

[WiX-users] Updating web.config field value depending on if machine's 64bit or 32bit

2009-07-13 Thread Erica Chang (PROJECT)
Hi, I have a field in web.config that needs environment variable of %ProgramFiles% or %ProgramFiles(x86)% depending on if the machine installing is 64 bit or 32 bit. Is there a way to substitute the values during install time by detecting this and setting the appropriate values? Thanks so much

Re: [WiX-users] Hiding passwords in the installation log file

2009-07-13 Thread Rob MacFadyen
Doh! Thanks a lot Bob! Regards, Rob -Original Message- Date: Sun, 12 Jul 2009 22:49:34 -0400 From: Bob Arnson Subject: Re: [WiX-users] Hiding passwords in the installation log file To: "General discussion for Windows Installer XML toolset." Message-ID: <4a5aa0be.1050...@joyofs

Re: [WiX-users] Setup upgrade needs to care for 4th part of versionnumber

2009-07-13 Thread Kim Gybels
Hi, >> >> Hello All, >> >> due to political issues (see below) my setups need to be able to >> upgrade when only the 4th part of the version info changes. >> >> Example: V1.0.0.1 needs to upgrade V1.0.0.0. My installers always do >> major upgrades, the product GUI always changes (that is OK and no

[WiX-users] Modular installation

2009-07-13 Thread Makrai Jozsef
Hello, This probably isn't a Wix-specific question, but please excuse me for asking here - I'm after a Wix-based solution. I have to make the installer for a product that is sold on a module-by-module basis. The number of the modules is not known beforehand. A module ships on its own disk, which

Re: [WiX-users] Setup upgrade needs to care for 4th part of versionnumber

2009-07-13 Thread Peter Shirtcliffe
Another perfect solution would be to control the Product Version attribute yourself. Could you put the "political" version number into the Product/@Name attribute ? That way the bosses would see the number they want in add/remove programs and you can use Product/@Version as MSI intended. -Orig

Re: [WiX-users] Setup upgrade needs to care for 4th part of version number

2009-07-13 Thread Neil Sleightholm
The perfect solution would be for Windows Installer to understand 4 part version numbers like every other system on the planet :-) One other point, I schedule RemoveExistingProducts after InstallValidate, it gets a bit more messy if this is not the case. Neil Neil Sleightholm X2 Systems Lim

Re: [WiX-users] Query: Difference between WiX and Visual Studio Setup Build

2009-07-13 Thread akash bhatia
hi Vijay, please go thru the following link as it will give u very basic info about wix with separate from other setup creation tools available in market. http://blogs.newsgator.com/inbox/2007/06/why_wix.html if you are not doin anything in the UI sequence... that means u dont need to modify t

Re: [WiX-users] Setup upgrade needs to care for 4th part of version number

2009-07-13 Thread Dirk Ziegelmeier
Hello Neil, thank you - I didn't find this one. It is not perfect, but sufficiently good :-). If someone can tell me the perfect solution, I'm still open to it. Thanks again! Dirk On Mon, Jul 13, 2009 at 12:00, Neil Sleightholm wrote: > I had a similar problem the way I got round it was to s

Re: [WiX-users] Setup upgrade needs to care for 4th part of version number

2009-07-13 Thread Neil Sleightholm
I had a similar problem the way I got round it was to set the upgrade code to include the maximum version, e.g. UpgradeVersion/@IncludeMaximum="yes". This will generate an ICE61 which you will need to ignore. This isn't perfect as 1.2.3.4 will be downgraded by 1.2.3.3 but if you are sure two rel

[WiX-users] Setup upgrade needs to care for 4th part of version number

2009-07-13 Thread Dirk Ziegelmeier
Hello All, due to political issues (see below) my setups need to be able to upgrade when only the 4th part of the version info changes. Example: V1.0.0.1 needs to upgrade V1.0.0.0. My installers always do major upgrades, the product GUI always changes (that is OK and not an issue to discuss). Af

[WiX-users] Subscribe Edit to "SelectionChanged" event of ListBox

2009-07-13 Thread Natalia
Hello all, I'm facing the problem while trying to make a dialog for choosing start menu folder for creating application shortcut. There are 2 controls on the dialog: Edit for entering new folder name (if user chooses to create a new folder for shortcut) and ListBox in which existing folders are