Re: [WiX-users] Adding a system account to a group fails on Server 2008

2010-02-24 Thread Zane Zeeh
ing a system account to a group fails on Server 2008 You might want to try using the well-known SID queries available in Wix: http://wix.sourceforge.net/manual-wix3/osinfo.htm You should be able to do the following: On Wed, Feb 24, 2010 at 1:26 PM, Zane Zeeh wrote: > The following code

[WiX-users] Adding a system account to a group fails on Server 2008

2010-02-24 Thread Zane Zeeh
The following code seems to work fine on Server 2003, but when I run it on 2008 I get the message "Failed to create user due to invalid password. (-2147022651 512 ). I have similar code for Network Service and Local Service that also fail on Server 2003 but not 2008. Any ideas?

[WiX-users] Adding a user to IIS_WPG

2010-02-22 Thread Zane Zeeh
I'm trying to add users to the IIS_WPG group. The following line works fine in Windows 2003 but fails in Windows 2008. I know the group does not exist on a Windows 2008 server, how can I make this conditional on the OS version? -

Re: [WiX-users] RegistrySearch on a REG_MULTI_SZ

2008-07-31 Thread Zane Zeeh
document this oddity. I think you might just want to use a custom action instead of a registry search to retrieve this value and write it to a property. dana On Thu, Jul 31, 2008 at 11:02 AM, Zane Zeeh <[EMAIL PROTECTED]> wrote: > I'm trying to get the default SQL Server Inst

[WiX-users] Searching the Wix mailing list

2008-07-31 Thread Zane Zeeh
Is there some secret to searching through the wix-users mail archive? I get no results returned no matter what I enter into the Mailing Lists search. I've tried the advance search and that returns no results either. - This SF

[WiX-users] RegistrySearch on a REG_MULTI_SZ

2008-07-31 Thread Zane Zeeh
I'm trying to get the default SQL Server Instance using the following: This SHOULD return one or more values in the format ~InstanceName1~InstanceName2~InstanceName3. Mine however returns nothing, even though there is a value there. If I use this same Property against a string registry value it

Re: [WiX-users] InstallUtil elevating for Vista

2008-07-29 Thread Zane Zeeh
. Can you provide more detail about what "does not seem to work"? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zane Zeeh Sent: Tuesday, July 29, 2008 07:14 To: WiX-users@lists.sourceforge.net Subject: [WiX-users] InstallUtil elevating for Vi

[WiX-users] InstallUtil elevating for Vista

2008-07-29 Thread Zane Zeeh
I have a custom action in my installer that uses installutil to register a snap-in for the MMC. It works fine except for when I install on Vista. On Vista installutil.exe does not get elevated so it fails. I have tried setting impersonate='no' and execute='deferred' as I have seen suggested on t

[WiX-users] Verify SQL Instance

2008-05-06 Thread Zane Zeeh
I have a dialog where a user enters the instance (server name) of the SQL Server that I'm going to create a database on. I want to know how to verify that the instance exists. How can I accomplish this? Does anyone have an example? I tried using a VB Script but that only looked at instances on t