Create HKCU Key In Per-Machine And Avoid Self-Heal? - 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!

sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Create HKCU Key In Per-Machine And Avoid Self-Heal?

Using Advanced Installer does anyone know of a way to add a HKCU key to the registry on a per-machine install and NOT have it kick-off a self-heal when different users first use the advertised shortcut?

We'd like to leave self-heal enabled for emergencies and we worked around this by finding an HKLM equivalent but it's an interesting question that I can't find a lot addressed on it on the internet.

Thanks,
Scott
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Create HKCU Key In Per-Machine And Avoid Self-Heal?

Hello Scott,

In order to achieve what you want, in "Organization" page, you should not add the related HCKU registry key component in the same feature as your advertised shortcut component. The related registry component should be added in a separate feature which doesn't contain an advertised shortcut component.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Create HKCU Key In Per-Machine And Avoid Self-Heal?

Daniel,

So how does the next user that logs into that machine get that HKCU key created?

Scott
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Create HKCU Key In Per-Machine And Avoid Self-Heal?

You will need to write that from your application, when the user launches it the first time. Since you disable the advertise support, it is the only method.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”