Re: [WiX-users] Avoid showing removable drive in the BrowseDlg

2010-05-10 Thread Andy.Kruger
http://www.adivo.com/samples/xmlschema/wix-lite/WiX.html#t371 discusses how removable drives are referenced in WiX. So there should be some ways to show/hide the removable drives?? - Andy MSI Developer Schneider Electric -- View this message in context: http://windows-installer-xml-wix-to

Re: [WiX-users] Wix doesn't recognize USB drive or other removablestorage

2010-05-10 Thread Pally Sandher
1 - yes write your own external UI instead of using Windows Installer. 2 - No idea, ask Microsoft. My guess is because installing something on a removable drive which puts entries in registry for ARP & other stuff isn't going to be well received by the O/S when the removable drive isn't connected.

Re: [WiX-users] Conditional removal of HKCU-key?

2010-05-10 Thread Pally Sandher
You can't in that case. Use a different RegistryValue for the KeyPath of that directory if you need that one to persist in certain situations (try something like ). Move that one to it's own Component & add the requisite Condition Element. Palbinder Sandher Software Deployment & IT Administra

[WiX-users] FilesInUse and text files

2010-05-10 Thread Andy.Kruger
My application installation folder tree is not removed when the releasenotes.txt file is kept opened in notepad during uninstall. When I opened in wordpad, it removed the folder tree, but FilesInUse dialog is not shown in both the cases Any idea why?? Is this an expected behavior of MSI?

Re: [WiX-users] WiX and TFS Build

2010-05-10 Thread pmdarrow
The project variable approach (i.e. $(var.ProjectName.TargetDir) only seems to work if the projects are in the same solution. I have two solutions, the installer project in one and the DB project in the other. I've come up with a workaround by making a special case for the build server, but I was

Re: [WiX-users] FilesInUse and text files

2010-05-10 Thread Chad Petersen
You're running into something a bit odd here. Notepad doesn't open files in exclusive locked mode. For example, open a txt file in Notepad and while it is opened in Notepad go to Explorer and you should have no problems deleting the file. Same with WordPad. If it doesn't work like that on your syst

Re: [WiX-users] Avoid showing removable drive in the BrowseDlg

2010-05-10 Thread Chad Petersen
Here's one way. The DirectoryCombo control can be set up like this. Once I set it up like this my dialog doesn't show any USB drives. If you are using some other type of Control other than Directory or Volume you may not have this ability. -Original Message- From: Andy.Kruger [mailto:

[WiX-users] lowercase GUIDs

2010-05-10 Thread DE�K JAHN, G�bor
On Sun, 9 May 2010 20:46:31 -0700, Rob Mensching wrote: Rob, > The WiX toolset does exactly that. I thought the warning about > specifying mixed cased GUIDs only shows up in pedantic. OK, I fell into my own trap. I used both -pedantic and -wx, so it killed the build process for me. Never gave m

Re: [WiX-users] Wix doesn't recognize USB drive or other removablestorage

2010-05-10 Thread Chad Petersen
You oughta talk to the other fella who emailed this list yesterday. He *doesn't* want to see the USB drives as available to install upon. You might have just the opposite condition of what he has. I might suggest you search your project for Removable="no" and see if it exists. If I remove that attr

[WiX-users] Looking for assistance using WIX to rollback an install upon failure of a custom action.

2010-05-10 Thread Michael_Brindamour
Hi folks, Forgive me if this is posted on a FAQ somewhere, but after an hour or so of googling, I was unable to find the answer. I have implemented a custom action to launch an executable I install and check some connectivity prior to performing additional steps. I would like

Re: [WiX-users] Looking for assistance using WIX to rollback an install upon failure of a custom action.

2010-05-10 Thread Blair
If your custom action returns a failure code, the custom action is scheduled before InstallFinalize, and you have not marked the custom action to ignore the return codes, than that custom action will cause the entire transaction to rollback and return the failure. Is that what you are asking? ---

Re: [WiX-users] Looking for assistance using WIX to rollback an install upon failure of a custom action.

2010-05-10 Thread Michael_Brindamour
Well, sort of, but it appears I've made a mistake - The custom action currently is set to run after InstallFinalize, so I guess at that point, it's sealed. I need it to run after files are installed but before InstallFinalize I think... How could I configure it to do that? Thanks! Mik

[WiX-users] SxS policy in merge module does not work properly - ID: 2992323

2010-05-10 Thread Stephen Paterson
I am encountering this recently-reported bug ... http://sourceforge.net/tracker/index.php?func=detail&aid=2992323&group_i d=105970&atid=642714 I'm authoring a merge module to install a Win32 shared SxS assembly and associated policy. Everything works fine for the first MSI that uses it but the s