Execute a .reg file from 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!

dmgroup
Posts: 3
Joined: Wed May 11, 2011 12:12 pm

Execute a .reg file from installer

Hello,

I cant't find a solution for my problem.

I want that the installer executes a reg file to register entries in the registry. But for some reason it does not run on my win7.
The reg file is delivered with the installer in the application directory, and I think this file should be executable as an user action, but I get an error all the time it trys to execute the reg file. I can run the reg file in win7 normally but not using the installer.

Does anybody knows how to configure it??

Thanks...
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Execute a .reg file from installer

Hello and welcome to the Advanced Installer Forums,

It is not necessary to run the .REG file with a custom action. You can try to import it from the Registry Page.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dmgroup
Posts: 3
Joined: Wed May 11, 2011 12:12 pm

Re: Execute a .reg file from installer

Thanks for your response.

But I would like to have a REG file which I can run. Is that not possible??
I also tried to run a bat file. And I got the same problem. The bat file will not be started.

Any idea would be appreciated...


Thanks.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Execute a .reg file from installer

Hello,

You can import your .REG file from the Registry Page( toolbar menu ) and the effect will be the same as running it in the Windows Explorer. This would be the recommended way to do it.

Here is an article that can help you with the .BAT file.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dmgroup
Posts: 3
Joined: Wed May 11, 2011 12:12 pm

Re: Execute a .reg file from installer

Thanks again for your help,

It works. I have solved the problem using the run bat instructions as described....

Many thanks...

Return to “Common Problems”