aclay
Posts: 7
Joined: Mon Mar 22, 2010 5:49 pm

Problems creating an entry in the registry

Our installer creates a new Windows user via a VBScript. This is a background user for our database server and therefore needs to be hidden from the Windows Logon screen. We're trying to create the appropriate registry entry for this, but try as we might, we cannot get this entry to create through Advanced Installer. We've tried the built-in registry manipulation feature, script regedit, using a registry object in a VBScript, etc. Nothing will add the key to the registry. Script that run fine outside the msi work, but they fail when run from within the MSI.

We're trying to create a DWORD in:

HEKY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList

Any ideas? I'd love to use the built-in registry manipulation features in Advanced Installer as I assume they create the recommended MSI entries to adjust the registry. However a script-based solution would be fine.

Thanks!
Alex
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Problems creating an entry in the registry

Hi Alex,

For a user not to be displayed on the logon screen, simply make sure it is not added to the Users group. This setting can be done from the "Users an Groups" page in Advanced Installer, by selecting the user in question's entry from the tree and editing the "Member Of" section.

Let me know if this helped.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”