Cannot change certain registry keys with Advanced Installer - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

cpdohert
Posts: 10
Joined: Tue Sep 16, 2008 5:28 pm

Cannot change certain registry keys with Advanced Installer

I'm trying to brand our in-house desktops with company logo login screens, etc. I'm using the freeware version of Caphyon AI (we have an Enterprise license, I just don't need the full template for this) to create a simple package that installs the bitmap files (that works fine) and add the registry keys that tell Windows 7 x64 to use the custom bitmaps for its login screens.

The files install correctly, the registry keys won't.

The registry keys I'm trying to add are:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
\CurrentVersion\Authentication\LogonUI\Background\OemBackground, a DWORD with the value "1".

HKEY_LOCAL_MACHINE\Software\Microsoft\IdentityStore, a REG_SZ with a value of our company name.

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\OEMInformation{Logo,Manufacturer,SupportURL} - OEM branding as per standard MS instructions.

When I run the msi and turn on verbose debug logging, all I get is a line telling me that the WriteRegistryKeys action returned with a value of 1 (i.e. not successful).

I can add all the keys by hand as an Administrator-privileged user and they work. They were added to the project by exporting a .reg file from a functioning Windows 7 machine and then importing that .reg file into AI under the Registry Keys feature.

Does anyone know why this wouldn't work from an MSI? Are these keys somehow "protected" in Win 7?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Cannot change certain registry keys with Advanced Installer

Hello,

Can you please do a search for your keys in "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\"? If the installation was successful then most probably you are trying to install on a x64 machine. In this case you should make your project either Professional or Enterprise. In order to install your registry keys in the "HKEY_LOCAL_MACHINE\Software\Microsoft\" on a x64 machine you will need to mark the components attached to the registry keys as 64-bit components. You can do this from the Organization page -> your component -> Component Properties -> Attributes - > 64-bit Component checkbox.

If this is not the case then please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cpdohert
Posts: 10
Joined: Tue Sep 16, 2008 5:28 pm

Re: Cannot change certain registry keys with Advanced Installer

That did it, thanks.

Is there any plan to make 64-bit installer features available in a free version of AI? At the moment we have a full Enterprise license from some old in-house s/w dev we used to do, but I'd like to have a consistent tool for our IT support team to use to generate installers for various system settings &c. to be pushed out via GPO.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Cannot change certain registry keys with Advanced Installer

Hello,

Actually, the 8.0 release we had last week has the 64-bit packages feature moved to Free. Regarding marking the components as 64-bit, I'm afraid that is not planned because that would mean to move the entire Organization feature to Free.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”