[WiX-users] Drop database on Uninstall not working

2011-02-11 Thread kim
I want to drop the database installed by my msi on uninstall. It does drops the Db on roll-back but not on uninstall. Following is the code from my config file. Since setting DropOnUninstall=yes did not worked, so I added other sql string to execute Drop database command. I am not receiving any e

[WiX-users] Unable to change or propagate the value of a directory whose parent is changed via custom action

2011-02-11 Thread Antoine, David
Everyone, I have the following directory structure in an MSI I am trying to build:

Re: [WiX-users] Immediate custom actions with and without UI

2011-02-11 Thread Christopher Painter
And if you do that. 1) Make sure the properties you are setting are SecureCustomProperties otherwise they won't make it to the execute in a elevated install. 2) If there's an expectation for the user to pass a value at the command line that your Custom Action doesn't blast what the user pas

Re: [WiX-users] WriteIIS7ConfigChanges - Stuck with 1603 error codes???

2011-02-11 Thread kim
Still an issue after reboot. Any further suggestions please. I am really stuck here. Tagert machine is Windows 7-32bit . Lines from log file: Action 10:17:33: StartIIS7ConfigTransaction. Starting IIS Config Transaction Action 10:17:34: RollbackIIS7ConfigTransaction. Rolling back IIS Config Transa

Re: [WiX-users] Conditions on - how do Imake it dependent on a

2011-02-11 Thread Jamie Thomson
Sorry, please ignore. I was making this much more difficult than it had to be. This seems to be what I want: &DbFeature=3 Hopefully will help someone who might one day search for this anyway!!! JamieT -Original Message- From: Jamie Thomson Sent: Friday, February 11, 2011 5:15 PM To: G

[WiX-users] Conditions on - how do I make it dependent on a

2011-02-11 Thread Jamie Thomson
Hi, I am attempting to customise my installer dialogs. I have a that prompts for a database instance name - but I only want to display the Dialog if the user has opted to install On the previous I have this: [CDATA[(&DbFeature=3)]] This is giving an error: Entity 'DbFeature' not defined.

Re: [WiX-users] Immediate custom actions with and without UI

2011-02-11 Thread Peter Shirtcliffe
..but if you cant do that, keep it in both and set CustomAction/@Execute="firstSequence". -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: 11 February 2011 16:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Immediate cust

Re: [WiX-users] Immediate custom actions with and without UI

2011-02-11 Thread Michael Urman
On Fri, Feb 11, 2011 at 10:19, David Battey wrote: > I need to run immediate custom actions before showing my UI, so I've > currently got them near the beginning of InstallUISequence. > > But I also need them to run in a "quiet" installation. So it seems they > need to also be in InstallExecuteSeq

Re: [WiX-users] Immediate custom actions with and without UI

2011-02-11 Thread Pally Sandher
Take them out of the InstallUISequence unless there's some UI that depends upon them. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Regis

[WiX-users] Immediate custom actions with and without UI

2011-02-11 Thread David Battey
I need to run immediate custom actions before showing my UI, so I've currently got them near the beginning of InstallUISequence. But I also need them to run in a "quiet" installation. So it seems they need to also be in InstallExecuteSequence. I've currently got them in both sequences, and am u

Re: [WiX-users] heat: the ID of a directory with numeric name

2011-02-11 Thread Pally Sandher
Directory ID's can be anything you like as long as they're valid identifiers (see http://msdn.microsoft.com/en-gb/library/aa369212.aspx) since they go directly into the Directory table. They don't need to reflect the actual name of the directory. Just rename it after harvesting. Palbinder Sandher

Re: [WiX-users] Wix and "tricky" environment variables

2011-02-11 Thread John Robbins
Cool! I stand corrected on if symbols are loaded in this situation. Symbols are not loaded in the traditional symbol server sense of \file.pdb\\file.pdb approach. I'm so used to thinking of the symbol server that way I didn't see that just setting _NT_SYMBOL_PATH=c:\syms will be searched as wel

[WiX-users] heat: the ID of a directory with numeric name

2011-02-11 Thread Samuel.Ferencik
Hi, I am harvesting (heat dir) a directory structure like this: foo + bar + 1234 + a.a + b.b The output is as follows: I am wondering about the Id "_1234". I suppose the Id cannot be purely numeric, so the underscore i

Re: [WiX-users] heat: the form of generated IDs

2011-02-11 Thread Samuel.Ferencik
Hi Palbinder, I have, but I must have overlooked it. Thanks a lot. Sam ___ This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplic

Re: [WiX-users] Wix and "tricky" environment variables

2011-02-11 Thread Mark Modrall
That's a very good question, Ed. I've only tested it on our boxes, and we only ever have 1 rev of our code there at a time. Don't know what would happen if we started installing multiple versions, but thanks for making that point. Mark -Original Message- From: Maillet, Ed [mailto:ema

Re: [WiX-users] Wix and "tricky" environment variables

2011-02-11 Thread Maillet, Ed
Doesn't that only work if you have one version of an assembly? Two Acme.dlls (v1 and v2) in the gac present a problem, doesn't it? -Original Message- From: Mark Modrall [mailto:mmodr...@mzinga.com] Sent: Friday, February 11, 2011 7:19 AM To: John Robbins; General discussion for Windows

Re: [WiX-users] heat: the form of generated IDs

2011-02-11 Thread Pally Sandher
Have you looked at the help output from heat.exe? The -suid flag is what you're looking for. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limite

Re: [WiX-users] Wix and "tricky" environment variables

2011-02-11 Thread Mark Modrall
Hi John... Actually, putting your .net pdbs in _NT_SYMBOL_PATH *does* work; that's why I'm trying to do it. http://blog.softwareishardwork.com/2010/02/enable-stack-trace-line-numbers-in.html I came to adding it to my installers after proving that it worked by doing it manually.

[WiX-users] Error 1939 when using on Windows Server 2008 R2

2011-02-11 Thread Jerra
Hi all, first email to this list. I have no experience of installers, Wix and what have you. I have managed so far by getting help by googling and also by some helpful individuals but now I am stuck. I have a C# Windows Service project. I have a Install Shield 2011 Express project for installin

[WiX-users] heat: the form of generated IDs

2011-02-11 Thread Samuel.Ferencik
Hi, when I run "heat dir", the output wxs file contains blocks like this: Is there a way to make the generated IDs match the filenames, i.e. I am looking (Orca) at another MSI that was created this way (using heat), and it has these nice IDs. Thanks, Sam __

Re: [WiX-users] FW: WIX Installer issue.

2011-02-11 Thread Rob Hamflett
Create the default directory structure as you normally would in WiX and set the id of the configurable directory to 'installpath'. When the user overrides installpath on the command line, it will change that directory to point at the new path. Rob On 11/02/2011 04:11, Rohit Ghule wrote: > Hi

[WiX-users] Best practice for making dependent installers

2011-02-11 Thread Thomas Due
Hi, I am maintaining the installer for our main product. This product is extensible and I was wondering how I would go about making installers for our extensions? What I would like is for the extension installers to refuse being installed if the main application isn't installed. Furthermore