nry
Posts: 4
Joined: Thu Jun 17, 2004 11:16 am

Making hkey_current_user registry keys install when app run

Hi all,

I have been using Advanced Installer 1.6 to manually repackage a fairly simple application. It works fine, except for the hkey_current_user registry keys. The registration details for this app are held in this registry path, and although I have added them to the MSI they do not get created when a user first runs the application.

I'm pretty sure I'm missing something here, so could anyone tell me how I can get the hkey_current_user reg keys to be created when a user first runs the application?

Thanks for any reply.

Regards,

nry
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

On my machine, the key gets created just fine at install time.

Can you please send us the offending AIP?

Thanks,
Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nry
Posts: 4
Joined: Thu Jun 17, 2004 11:16 am

If I do a manual install it is also fine, it's when I allocate the application across the network via GPO that for obvious reasons the HKCU keys don't get created. I was hoping there was a way to get these keys to be created when a logged on user runs the app for the first time.

We run an educational network, and users roam around the PC's so we couldn't feasibly handle application registration in other manners.

I can still send the aip if needed?

Regards,

nry
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

No, that's ok it's an easy thing to reproduce.
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nry
Posts: 4
Joined: Thu Jun 17, 2004 11:16 am

Just to confirm I'm creating the keys in the right place within AdvInstaller, I'm creating them in the registry section under HKEY_CURRENT_USER which I've assumed is the correct place?

Thanks for the help!

Regards,

nry
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Yup, something like HKEY_CURRENT_USER\Software\Manufacturer\Product should be fine.
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nry
Posts: 4
Joined: Thu Jun 17, 2004 11:16 am

OK, it's under HKEY_CURRENT_USER but the reg key is not under software/manufacturer.

This is a 3rd party app that I initially tried to package into MSI using WinInstallLE 2000 and the capture function. That didn't seem to work so I tried manually building the MSI with AdvInstaller. There are few registry keys and few files/folders so I was hoping it would be easy.

Creating the files, registry and folders within AdvInstaller works fine, but I really need the HKEY_CUURENT_USER registry keys to be created when the user first runs the applications exe file. Stuff like Office runs the Windows Installer when something like Word is first run. This seems to create the relevant HKEY_CURRENT_USER keys for that user, and the Windows Installer does not run during future running of Word.

Can something like this be done from AdvInstaller? I think I've heard the term 'advertising' in this context?

Thanks again for the help.

Regards,

Chris
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Yes, advertised applications. We don't support them just yet though...
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Guest

Ahh OK, is it this type of feature I need if I wish to implement what I've described? If not, how else could i get the HKCU registry keys to be created when the app is first run?

Regards,

nry

Return to “Common Problems”