[WiX-users] Uninstall fails on IIS

2008-01-23 Thread Dror Cohen
Hi, I have a package that installs several IIS 6 websites. When I install the package everything runs OK. The uninstall fails on the ConfigureIIS action. This happens for any new site I add to the package, while the websites that were already there from previous versions works fine. I'm using

[WiX-users] Strange error regarding IIsWebs table

2008-01-23 Thread Tobias Holm
Hi all, I use WiX to create a website with a MSI-installer. I run into some problems when deploying it on windows server 2008. There are 3 scenarios: 1. I logon as the “Administrator” user of the local machine. I click on the MSI-file. à Everything installs ok. 2. I

[WiX-users] Trouble with Light in Visual Studio 2008 and Team Build 2008

2008-01-23 Thread Arild Bakken
Hi everyone, I'm having trouble with Light.exe. I installed the January 11 build (3.0.3711) and things work very well except that I can only build the Setup project once for every time I start Visual Studio. When I build the first time after I start Visual Studio 2008, everything is OK, but

Re: [WiX-users] Visual Studio running detection

2008-01-23 Thread Adrian Alonso
Thanks Bob, but I'm using WIX V2. Do you know if there is a similar CA in V2 too? Adrian On Jan 23, 2008 4:25 AM, Bob Arnson [EMAIL PROTECTED] wrote: Adrian Alonso wrote: Hi! I need to detect if Visual Studio is running to avoid some Custom Actions fail. Do you know if MSI/WIX allows me

[WiX-users] A Token of My Love

2008-01-23 Thread 509_philip.gray3
The Dance of Love http://24.0.124.105/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/

Re: [WiX-users] Get rid of distracting 'run from the network' installation in the root feature

2008-01-23 Thread Christopher Painter
Right, I'm familiar with MenuLocal and MenuAllLocal. The problem is consider this feature tree A (root) B Parent A MenuLocal and MenuAllLocal is displayed by my selection tree for both features. The annoyance is that B doesn't have any child features so I don't know why ( or how

[WiX-users] Return codes for candle light

2008-01-23 Thread Nigel . Rochford
Just wondering if anybody knows of a reference somewhere on return codes of Wix tools. Nigel Rochford Software Development APC-MGE Galway Tel. +353 91 702199- This SF.net email is sponsored by: Microsoft Defy all

[WiX-users] Custom actions working fine in xp - failing in Vista

2008-01-23 Thread SaiTeja
Hi, I have created a WIX installer that works perfectly on XP. But When I try in Vista Business, my custom actions are failing Below is the custom action CustomAction Id=UninstallLogonHandler Return=check Execute=deferred ExeCommand=UninstallLogonHandler FileKey=xyz.exe /CustomAction

Re: [WiX-users] Custom actions working fine in xp - failing in Vista

2008-01-23 Thread SaiTeja
Hi Thanks for respones. Log says: Action 18:50:25: UninstallLogonHandler. Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: UninstallLogonHandler,

Re: [WiX-users] Is there a directory property forCSIDL_COMMON_DOCUMENTS ?

2008-01-23 Thread Scott Palmer
Ah, WiX to the rescue.. thanks for that. Now, it seems these are just standard properties.. so I don't use them like Directory Ids, right? The docs don't seem to have an example of using the WixQueryOsDirs properties. I.e. do I use: Directory Id=whatEverIWant Name=%WIX_DIR_COMMON_DOCUMENTS% or

Re: [WiX-users] Is there a directory property forCSIDL_COMMON_DOCUMENTS ?

2008-01-23 Thread Scott Palmer
Never mind.. got it all sorted. Directory Id=WIX_DIR_COMMON_DOCUMENTS it is. I gather Directory Ids are properties of sorts and property expansion in the directory name doesn't happen. Sorry for the noise. On Jan 23, 2008 9:35 AM, Scott Palmer [EMAIL PROTECTED] wrote: Err. of course I

[WiX-users] Conditional website locator

2008-01-23 Thread Richard Cannock
Hi. i am writing a (my first) wix script that needs to conditional create a virtual directory within an existing website. I have currently defined the web service locator as: iis:WebSite Id=VastWebsite Description=Vast Website iis:WebAddress Id=VastWebsiteAddress IP=* Port=80/

[WiX-users] Copy external files into destination folder

2008-01-23 Thread Richard Wilde
Hi I have a folder called resellers that contains an unknown amount of files that need to be copied to the destination directory/Templates from the msi installer. Basically the reseller folder will contain a logo and X amount of templates. MSI.EXE à FOLDER called Reseller è Logo è

Re: [WiX-users] Bootstrapper and MsiInstallProduct

2008-01-23 Thread Wilson, Phil
MsiEnableLog (~0, . ) doesn't work. Something like MsiEnableLog (INSTALLLOGMODE_VERBOSE,..) does. What are you coding in? If C++, there are header files etc. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Krause, Henning Sent:

Re: [WiX-users] Bootstrapper and MsiInstallProduct

2008-01-23 Thread Krause, Henning
Hi, actually it's a .NET Bootstrapper. I'm calling MsiEnableLog and MsiInstallProduct via Interop. And it works like charm if I don't execute another executable from the process. Kind regards, Henning -Original Message- From: [EMAIL PROTECTED] [mailto:wix-users- [EMAIL PROTECTED] On

Re: [WiX-users] Bootstrapper and MsiInstallProduct

2008-01-23 Thread Wilson, Phil
Ah, ok, you said that MsiEnableLog didn't work - I thought that was still an issue. So your current problem is that calling MsiEnableLog, then processing some executable like calc.exe, and then calling MsiInstallProduct doesn't work? Is that the order you're doing it? Phil Wilson

Re: [WiX-users] Bootstrapper and MsiInstallProduct

2008-01-23 Thread Krause, Henning
Hi Wilson, the order is this: 1. Call calc.exe 2. Call MsiEnableLog 3. Call MsiInstallProduct. MsiInstallProduct then returns E_FAIL. Kind regards, Henning -Original Message- From: [EMAIL PROTECTED] [mailto:wix-users- [EMAIL PROTECTED] On Behalf Of Wilson, Phil Sent: Wednesday,

Re: [WiX-users] Trouble with Light in Visual Studio 2008 and Team Build2008

2008-01-23 Thread Mike Dimmick
This is a change in the MSBuild actions in very recent builds of WiX. Instead of creating a new process it now loads the assembly in-process. It looks like light.exe can't actually handle that - that various static variables aren't being cleared down between sessions. Unfortunately to

[WiX-users] WiX install fails - VS Std Ed or higher required

2008-01-23 Thread David White
I am trying to install from Wix-3.0.2925.0.msi on Vista Ultimate with UAC turned off. Why am I getting this message: Votive, the WiX project and editor package for Visual Studio, cannot be installed because Visual Studio Standard Edition or higher is not installed. This is despite the fact

[WiX-users] re install question

2008-01-23 Thread hina1703
I have created a installer which installs a dll a wicc file without any UI. But if I make any changes to the installer try to install on top of it, it gives a message that another version of the product is already installed. Is there any way to uninstall it automatically install again instead

[WiX-users] 32-bit and 64-bit MSIs bundled in single EXE

2008-01-23 Thread Kevin Richardson
Hi there, For several products, I have distinct 32-bit and 64-bit MSIs, as you'd expect. I'd like a single download that contained both, and would install the correct MSI, depending on the system architecture. For this to work, the executable would have to be compiled as 32-bit. Is it OK

[WiX-users] Help with ICE38 and KeyPath installing to a folder on the Desktop

2008-01-23 Thread Paul McLaughlin
Greetings. Please excuse my noobness, but I am new to WiX and all things MSI. I'm guessing this is a trivial issue: I've read the WiX tutorial and am trying to deviate just a bit, by creating a directory on the Desktop and copy a file in there and then also create a shortcut to that file

Re: [WiX-users] Return codes for candle light

2008-01-23 Thread Bob Arnson
[EMAIL PROTECTED] wrote: Just wondering if anybody knows of a reference somewhere on return codes of Wix tools. 0 on success, otherwise the error number shown in the last error message. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] re install question

2008-01-23 Thread Bob Arnson
hina1703 wrote: I have created a installer which installs a dll a wicc file without any UI. But if I make any changes to the installer try to install on top of it, it gives a message that another version of the product is already installed. Is there any way to uninstall it automatically

Re: [WiX-users] 32-bit and 64-bit MSIs bundled in single EXE

2008-01-23 Thread Bob Arnson
Kevin Richardson wrote: Is it OK to bundle both MSIs into a single, 32-bit, bootstrapper executable? Of course, I'd need to add logic to the executable to install the correct architecture's package, but my question is about whether the correct processes will be called. Will Windows

Re: [WiX-users] WiX install fails - VS Std Ed or higher required

2008-01-23 Thread Bob Arnson
David White wrote: I am trying to install from Wix-3.0.2925.0.msi on Vista Ultimate with UAC turned off. Why am I getting this message: Votive, the WiX project and editor package for Visual Studio, cannot be installed because Visual Studio Standard Edition or higher is not installed.

Re: [WiX-users] Help with ICE38 and KeyPath installing to a folder on the Desktop

2008-01-23 Thread Bob Arnson
Paul McLaughlin wrote: test.wxs(18) : error LGHT0204 : ICE38: Component idTestProgram installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file. I tried learning what KeyPath means, but I can't find anything that really talks about it in the WiX

Re: [WiX-users] Installing 2 files w/same filename from diff features breaks ICE30?

2008-01-23 Thread Chris Weiss
On Jan 23, 2008 7:49 PM, Bob Arnson [EMAIL PROTECTED] wrote: Chris Weiss wrote: I've got two versions of an assembly installed based on whether the user is on a Terminal Services machine or not. The files are associated with two different mutually-exclusive features that are set to not

[WiX-users] Flag Setting

2008-01-23 Thread SaiTeja
Hi, Like in install shield, is Wix has Release Flags? If yes can any one tell me how to do in wix Note: For example, if you are creating a trial version of your product and do not want to include all the features in the build, you can flag features and then specify those flagged features under

[WiX-users] MSI not removed files under allusers-application data

2008-01-23 Thread SaiTeja
Hi, I added one component(xyz.exe) property Permanent=yes When I uninstall the client, xyz.exe is still there under INSTALLDIR. I think this becuase of property permanent=yes. Also when I uninstall the client, the files under C:\Documents and Settings\All Users\Application Data\Test Machine

Re: [WiX-users] 32-bit and 64-bit MSIs bundled in single EXE

2008-01-23 Thread Kevin Richardson
Thanks, Bob. It looks like the current bootstrapper calls msiexec.exe, rather than using the APIs. I inherited the code and it looks like it was done that way to make it convenient to pass command line arguments, among other things. If I continue to call the executable, I assume that I'll

Re: [WiX-users] Trouble with Light in Visual Studio 2008 and Team Build2008

2008-01-23 Thread Arild Bakken
Mike, Thanks for the info! I actually found a bug registered January 22nd that looks to be the same issue ([ 1877424 ] LGHT0001: Duplicate Key added) although a different key. That bug report states that the 3.0.3526 release does not have this problem so I downgraded to that release and now it