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!

RussellCreek
Posts: 1
Joined: Tue Feb 11, 2014 1:39 am

Programmatic file association

I am evaluating Advanced Installer and our software is OEMed. Hence I would like to setup an extension that uses a variable that I could then setup from the command line. That is, I would like to set the extension to [!OEM_EXTN] where OEM_EXTN is my custom property. I tried this but it just treats it literally.
Is there a way that I can do this?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Programmatic file association

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm afraid this is the default behavior. You cannot use an installer property to set the extension name. This is a Windows Installer limitation. However, in order to achieve what you want you can manually add (in "Registry" page) the coresponding registries which will register the extension. In "Registry" page you can add formatted reference to installer properties.

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

Return to “Building Installers”