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!

Nikoleta
Posts: 2
Joined: Mon Nov 12, 2012 10:54 am

.Net Installer class - broken registry path

I have developed a simple .Net Installer class. Its special feature is that provides a specific UI, based on *ini file. Depending on user choice, my installer class merges in registry a specific *.reg file.
So if I have a sample.reg file of sort:

Code: Select all

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\NIKOLETA]
...
when I import my installer class in Windows installer (built in VS) - sample.reg is merged fine and NIKOLETA key appears under HKEY_CURRENT_USER\SOFTWARE. Unfortunately when installer class is imported under Advanced Installer - sample.reg is merged again, however NOT on desired place but NIKOLETA key appears under HKEY_USERS\.DEFAULT\SOFTWARE. I am informed that Advanced Installer's default path for HKEY_USERS is HKEY_USERS.DEFAULT\Software[Manufacturer][ProductName]. But how and why it affects .Net installer classes? Could I surround that problem, so my *.reg files to be correctly merged?
Thanks in advance!
Nikoleta
Posts: 2
Joined: Mon Nov 12, 2012 10:54 am

Re: .Net Installer class - broken registry path

It seems Advanced Installer interacts seriously with .Net Installer Classes.
and the path where reg is merged vary depending on:
Install Parameters > Installation Type
However it is unpredicted behavior for me, as a client I expect my *.reg files to be merged on the specified place or to receive an error if that is not possible, not to be merged somewhere else.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: .Net Installer class - broken registry path

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm afraid I don't fully understand what you mean. Can you give us more details about your scenario (maybe exemplify)? Please keep in mind that in order to clearly report an issue you can take a look on our How to report a problem for a faster resolution article.

Also, you can try to use a DTF custom action in order to achieve what you want. You can take a look on our "Create fully fledged C# custom actions" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”