Re: [WiX-users] Supressing the command window on ExeCommand custom action

2007-02-16 Thread Rob Mensching
I'm not sure there is a standard pattern. There are many different ways you can do something like that depending on how you want things to work and what you are trying to do. What does "embedding ADAM in my installer" mean? From: Jon LeCroy Sent: Friday, February 16, 2007 6:01 PM To: Rob Mensc

Re: [WiX-users] Supressing the command window on ExeCommand custom action

2007-02-16 Thread Rob Mensching
That's what QtExec (http://wix.sourceforge.net/manual-wix2/qtexec.htm) is for in the WiX toolset. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Will Qian Sent: Friday, February 16, 2007 4:37 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Supressing the command window

[WiX-users] Supressing the command window on ExeCommand custom action

2007-02-16 Thread Will Qian
Hi, I've got a problem and I was hoping someone could help me out. I'm trying to run a command line program, and I've got it working with a custom action: The only problem is I don't want that command window popping up and disappearing all the time. Is there some way I can get this c

Re: [WiX-users] Root folder other than "Program Files"

2007-02-16 Thread Rob Mensching
Ahh, now I understand. If you read the MSI SDK documentation about WindowsVolume it says: "Do not use the WindowsVolume property in the Directory colum of the Directory table. The WindowsFolder property contains the path to the Windows folder." I understand your use of "var" better now and may

Re: [WiX-users] Adding a hyperlink (link label) to a message...

2007-02-16 Thread Rob Mensching
No. External UI handler cannot be a CustomAction. There is no supported method to get the installer window's handle. Some people have used ::FindWindow() with some success... although you could find the wrong window. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [WiX-users] Manually setting inclusion destination?

2007-02-16 Thread Rob Mensching
There are many discussions on this mailing list that heat is not intended to be used in a build process to automatically generate .wxs files. The Component Rules will be violated. There are some long threads on this... you might go read through those for more context. -Original Message---

Re: [WiX-users] Do not remove webserviceextention on UnInstall process

2007-02-16 Thread Rob Mensching
Make the Component that installs it permanent. Then it won't get uninstalled. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stepan Tinskiy Sent: Friday, February 16, 2007 6:55 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Do not remove webserviceextention on UnInsta

Re: [WiX-users] Checking for Passive mode

2007-02-16 Thread Rob Mensching
There is actually an entire topic in the MSI SDK dedicated to just that case title: Determining UI Level from a Custom Action From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Couper Sent: Friday, February 16, 2007

[WiX-users] Checking for Passive mode

2007-02-16 Thread Ian Couper
I have a situation where the user might want to run an MSI I've created in passive mode, but my Custom Action needs to change if that is the case. Is there a way of having the MSI check whether it is being run in passive mode or not? Otherwise I'm going to have to get the user to include a prop

Re: [WiX-users] Error 26251 -- Failed to register DLL with PerfMon

2007-02-16 Thread Heath Stewart
That's an error from a custom action. You'll need to contact the owner of the CA. Moving SetupSup to BCC. Heath Stewart Software Design Engineer Deployment Technologies Group, Microsoft http://blogs.msdn.com/heaths From: Amol Tambat (Wipro Technologies) Sent: Friday, February 16, 2007 1:58 AM To

[WiX-users] Do not remove webserviceextention on UnInstall process

2007-02-16 Thread Stepan Tinskiy
Hi. I've written a part of wix installation file like this: But this wervice extention is removing then I try to Uninstall my installation. I don't need to remove this one. What should I do to save my extention file ? P.S. I'm using Wix v3.0 --

Re: [WiX-users] Adding a hyperlink (link label) to a message...

2007-02-16 Thread Gus Grubba
I do that by creating my own dialog in an external DLL ("Custom Action"). While in the subject, how do you get the installer's window "handle"? g On Feb 16, 2007, at 2:53 AM, Rob Mensching wrote: > Unfortunately, MSI UI does not support hyperlinks. A much > requested feature. The only o

[WiX-users] Manually setting inclusion destination?

2007-02-16 Thread Very Secret
I use the tool "heat" to capture all the (*many*) files in my directory "foo/" into a foo.wxs. This is done automatically as part as a larger build process and it can therefore be considered *not* possible to edit foo.wxs manually at any time. In my main Installer.wxs file I have defined a directo

Re: [WiX-users] Root folder other than "Program Files"

2007-02-16 Thread Gus Grubba
Rob, First, thanks for taking the time. Second, sorry for being terse! Here we go: The actual error put out by light is: error LGHT0204 : ICE99: The directory name: WindowsVolume is the same as one of the MSI Public Properties and can cause unforeseen side effects. make: *** [product.msi]

Re: [WiX-users] Is possible to install IIS as part of MSI setup ?

2007-02-16 Thread Rob Mensching
It is possible. There is stuff on MSDN (or is it TechNet?) that shows how to install IIS scripted. You could technically speaking call that at some point during the MSI install (UI sequence may be best). Not sure if that is a good idea or not... -Original Message- From: [EMAIL PROTEC

Re: [WiX-users] CostFinalize

2007-02-16 Thread Rob Mensching
Defrag? Seriously though, costing can be an expensive operation. Reducing disk IO sounds key in your scenario. Not embedding the cabinet means the Windows Installer doesn't have to extract it to disk. Minimizing your FileSearches to only exactly what you need can help as well. Basically, ke

Re: [WiX-users] Error 26251 -- Failed to register DLL with PerfMon

2007-02-16 Thread Amol Tambat (Wipro Technologies)
Adding Windows Installer Support (MS Internal) and wix-users@lists.sourceforge.net for the below mentioned problem. From: Rob Mensching Sent: Friday, February 16, 2007 3:22 PM To: Amol Tambat (Wipro Technologies); Windows I

Re: [WiX-users] Default REINSTALLMODE for repair

2007-02-16 Thread Johan Appelgren
On 2/9/07, Bob Arnson <[EMAIL PROTECTED]> wrote: > Johan Appelgren wrote: > > Anyways, we're already using a custom WixUIExtension, abused > > localization to make the sidebar bitmap width configurable, so I've > > made ReinstallMode configurable the same way. > > > > You could also do it with WixV

Re: [WiX-users] Light Exception with Merge Modules

2007-02-16 Thread Rob Mensching
1. Yeah, that's it... the slashes vs. backslashes confuse Fusion and prevents things from loading properly. I pretty much hate Fusion these days. 2. I think you want to reference "WixUI_Mondo" for mondo now. There are a few other options in the wixui.wixlib, like my favorite "WixUI_Minimal".

Re: [WiX-users] uninstall shortcut...

2007-02-16 Thread André Pönitz
Alex Henderson wrote: > My client wants his installer to have an "uninstall" shortcut, but I can't > seem to quite get it right... after reading some posts I ended up with this: > > > > And also... > > Guid="F72CE94D-8E6E-4b9e-95BC-7DC80C3641B6"> > Name="Uninstall" > Description="Uninstall

Re: [WiX-users] Light Exception with Merge Modules

2007-02-16 Thread Sandip Ghosh
Thanks Rob for your response. Your comments about path problems with cygwin, gave me a hint, so I got this to work on a command prompt, the paths to candle and light had both forward and back slash in my wix driver app, using back slash consistently fixed the problem. We do our builds using cygwin

Re: [WiX-users] Adding a hyperlink (link label) to a message...

2007-02-16 Thread Bob Arnson
Alex Henderson wrote: > However I was wondering if it's possible to add a clickable hyperlink to the > message (so the user can navigate to the Microsoft website to download the > Framework, read more about or whatever), or some other work around for > achieving a similar idea .. clicking on a butt

Re: [WiX-users] Root folder other than "Program Files"

2007-02-16 Thread Bob Arnson
Gus Grubba wrote: > I guess the first question is: What is the Windows equivalent of / > var? Where should a service/daemon running with the credentials of a > system account store its runtime data? > Use company/product subdirectories under CommonAppDataFolder. -- sig://boB http://bobs.or

Re: [WiX-users] Changing user permissions to a directory

2007-02-16 Thread Rob Mensching
To be clear, it isn't WiX that assigns rights before the User is created. The Windows Installer's built in LockPermission action (the thing behind the standard Permission element) is actually at fault. To get around that problem, you need to switch to using PermissionEx (a WiX CustomAction tha

Re: [WiX-users] Root folder other than "Program Files"

2007-02-16 Thread Rob Mensching
There isn't really such a location. Most people just put their binaries in Program Files folder and go from there. Nothing wrong with that (with modern version of the Windows Installer). Putting stuff in "C:\var" would be very strange on a Windows machine. I can tell you from personal experi