Auto register file for EXE not working - 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!

prolancer
Posts: 17
Joined: Wed Nov 23, 2011 6:16 am

Auto register file for EXE not working

Hi,

I am trying to use Edit File -> Registration -> Auto Register File (DLL, OCX, etc) for an EXE file and I get and error dialog saying the "Selected file could not be registered".

I am able to run 'regsrv32 <exe name>' on a command line and works fine - this is how we register the exe with the old installer.

How do I determine what is the problem?

I am running AI 8.8.2 as administrator on the machine and I have successfully completed the above process for a number of DLL files which are in the same installation directory as the exe file.

Thank you
Emil
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Auto register file for EXE not working

Hi Emil,

Our auto-register option doesn't support native .EXE files, only managed:
http://www.advancedinstaller.com/user-g ... ialog.html

As a workaround you can use regsvr32 through a custom action. Here is how.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”