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!

JNuzzi
Posts: 4
Joined: Thu Apr 28, 2016 2:53 am

Configurable APPDIR...

I have a situation where I need to:

1) Search the registry to see if a particualr version our software is installed and where.
2) If it is not installed, then search the registry to see if the last version of our software and where.
3) If both of the above searches fail, set a default directory.

All of this to determine where to install additional files (I have Professional, so Upgrades are not an option).

Is this possible? And where do I look to set this scenario?

Thanks,

John
Horatiu
Posts: 42
Joined: Tue Nov 29, 2016 1:19 pm

Re: Configurable APPDIR...

Hello,

Yes, it is possible.

1. Got to the Search page, and press the "New Search" wizard button, found in the upper left corner
2. Use the Search feature to check the registry for the values you need. Make sure you store them in public properties(write the property name all in UPPERCASE)
3. Select the "Next" button of the Welcome Dlg Set in the Dialogs page, and set your published events
4. Use the "Set installer property value" to set the value of APPDIR, depending on your searches(condition example: PATH_PROPERTY <> "" OR RESULT_VERSION = "12.6").

Let me know if you need more information.

Best regards,
~Horatiu
JNuzzi
Posts: 4
Joined: Thu Apr 28, 2016 2:53 am

Re: Configurable APPDIR...

Thank you for the reply, however I do not have access to the Dialog editor in the Professional version, so I can do nothing with the button events. Is there another way?

Thanks,

John
JNuzzi
Posts: 4
Joined: Thu Apr 28, 2016 2:53 am

Re: Configurable APPDIR...

Not to worry. We upgraded and it works perfectly.

Thank you.

Return to “Building Installers”