Re: [WiX-users] Test sql connection

2009-11-21 Thread dB .
http://msiext.codeplex.com has ready-made custom UI screens with all CAs to back it up that do exactly this, including impersonation to test windows auth if your application (service) runs under different credentials. Hope this helps, -dB. dB. @ dblock.org Moscow|Geneva|Seattle|New York --

[WiX-users] Conditional registry entries and handling them properly on uninstall

2009-11-21 Thread Jan Wester
Hello WiX community, After the advice given to me yesterday, I've been focusing on the subject I've had least replies on. Basically, I am trying to only write a registry entry if it does not exist and create some keys to go with it, or if it does exist, I want to modify things, and at uninstall ti

Re: [WiX-users] Create and delete a security group

2009-11-21 Thread dB .
If you're talking about local groups, http://msiext.codeplex.com/ has a wix extension for you. Cheers -dB. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Saturday, October 17, 2009 2:03 PM To: General discu

Re: [WiX-users] Setting properties in a C++-CA vs. setting properties using

2009-11-21 Thread dB .
See http://msiext.codeplex.com/sourcecontrol/changeset/view/47269?projectName=msiext#816368. Look at MsiInstall::GetFormattedString. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: mrtn [mailto:mrtn.frederik...@gmail.com] Sent: Monday, October 19, 2009 10:1

Re: [WiX-users] [%USERDOMAIN]\[%USERNAME]

2009-11-21 Thread dB .
We found this to be a completely unreliable mechanism that works sometimes. http://msiext.codeplex.com has a CA to get extensive user info that uses Win32 API. Here's what it returns: USER_FQN DNS domain name followed by a backward-slash and the SAM username USER_NAME full username, include

Re: [WiX-users] Upgrading

2009-11-21 Thread Daniel Marjamäki
Sorry.. the solution was to execute the msi like this: msiexec.exe /I product.msi REINSTALL=All REINSTALLMODE=vomus So I am not stuck anymore. Regards, Daniel Daniel Marjamäki wrote: > > I am having trouble with upgrades. > Upon installation I want to completely uninstall any old versions.

[WiX-users] Upgrading

2009-11-21 Thread Daniel Marjamäki
I am having trouble with upgrades. Upon installation I want to completely uninstall any old versions. I have seen so many answers about this in various places. But nothing works. I use the same UpgradeCode in both old and new versions. I use the same Product Id in both old and new versions. I u

Re: [WiX-users] How to change the installation to point to C:\

2009-11-21 Thread Neil Sleightholm
If you wanted to make it simpler you could use ROOTDIR which is the drive with the most free space. Neil Neil Sleightholm n...@x2systems.com On 21 Nov 2009, at 00:54, "dB." wrote: > It's tricky. There's a product out there that belongs to a very big > corporation (not Microsoft), that has