Media output folder will be reset after reopen project file - Advanced Installer Community
hhelbig
Posts: 20
Joined: Tue Feb 11, 2014 2:06 pm

Media output folder will be reset after reopen project file

I have an installer project with following 'Media Output Folder':
C:\Projekte\Install\IH-Com\[|ProductVersion]
where 'C:\Projekte\Install\IH-Com\' ist the folder containing the project file.

If this project will be saved, closed and reopened afterwards, this entry is changed to:
[|ProductVersion]

Not before adding whole folder information again, project could be compiled.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Media output folder will be reset after reopen project f

Hello and welcome to Advanced Installer forums,

Indeed, this seems to be an Advanced Installer issue.This weird behavior occurs when your output build directory is named using a pseudoformatted data reference (e.g. [|ProductVersion]) and when it is in the same directory as your .AIP(project file). A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention.

As a workaround, you can add the C:\Projekte\Install\IH-Com\Setup [|ProductVersion] statement in the Output Folder field in the Configuration tab from Media page. Using this workaround, your output build directory will be named Setup 1.0.0 instead of 1.0.0.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”