APPDIR set incorrectly - 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!

Alastair
Posts: 42
Joined: Tue Jul 14, 2009 9:54 am
Location: UK

APPDIR set incorrectly

The APPDIR property is not set correctly as follows :-

I have an enterprise project with 2 builds, the DefaultBuild and a CustomerBuild. In the install Parameters screen the Application folder is set to a property called DRSS_DIR and this has a default value of C:\DRSS\. This property has the same settings for both builds. After building the projects, the APPDIR is set incorrectly to the value of [ProgramFilesFolder][Manufacturer]\[ProductName] in the CustomerBuild project, but is set correctly to the value of [DRSS_DIR] for the DefaultBuild msi file.

I would expect both builds to show the same APPDIR value, surely ?

Thanks,
Alastair McDonald.
Alastair
Posts: 42
Joined: Tue Jul 14, 2009 9:54 am
Location: UK

Re: APPDIR set incorrectly

I have just upgraded from v7.2 to v7.2.1 but there has been no change in this behaviour.

The custom action SET_APPDIR in the CustomerBuild msi sets the incorrect value [ProgramFilesFolder][Manufacturer]\[ProductName], and SET_APPDIR in the DefaultBuild msi works as expected setting a value of [DRSS_DIR].

Kind Regards,
Alastair.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: APPDIR set incorrectly

Hi Alastair,

Please note that in the Install Parameters page you will find located in the toolbar a combobox named "Build". When setting the Application Folder
to the desired path you should also choose the build (from the combobox) to which you wan to apply the settings. In your case you will first set the
path for the first build, then change the build from the combobox and set the Application Folder path again.

Please let me know if you have other questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Alastair
Posts: 42
Joined: Tue Jul 14, 2009 9:54 am
Location: UK

Re: APPDIR set incorrectly

Hi Bogdan,

My bad, I had not noticed that drop down.

Many thanks for the easy solution !

Best regards,
Alastair.

Return to “Common Problems”