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!

BenKell
Posts: 11
Joined: Tue Aug 07, 2012 11:07 pm

ASAP FIX - Installing Files Before Registry Keys

Good Morning All -

I deployed a package last night which I need to fix and re-deploy within the next hour. The only thing is, I haven't figured out how to fix it yet. The only thing the MSI does upon installation is add some registry keys from an imported .reg file and copy / overwrite files into specific locations. The actions work perfectly6 - but - just found out that the files must be copied prior to the registry keys being added. I looked in the Custom Actions section to change order as well as Organization, but there's only one feature.

If not easy / possible, I could just install the reg file and create a custom action to silently run it using regedit /s file.reg after everything completes, but don't know how - only how to execute installed EXE/BAT files.

Any advice? Thanks!!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: ASAP FIX - Installing Files Before Registry Keys

Hello!

I'm afraid I don't fully understand how your project is configured right now. The simplest way to make registry modifications during an installation is to import the registry file in the "Registry" page using the "Import REG file" facility. The other files will be added in the "Files and Folders" page. In this case, the registries will be added after the installation of the files.

However, if you want to use a custom action to achieve the result, you can take a look at "Registry Entry for CheckBox is not saved" post.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BenKell
Posts: 11
Joined: Tue Aug 07, 2012 11:07 pm

Re: ASAP FIX - Installing Files Before Registry Keys

Thanks -

Fortunately, I found out a couple of hours later that the person who gave me this information was incorrect and it was not required. I appreciate your reply, though…

Thanks!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: ASAP FIX - Installing Files Before Registry Keys

You're welcome.

Just let us know anytime we could help you.

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

Return to “Building Installers”