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!

jameslynes
Posts: 1
Joined: Thu Sep 11, 2014 6:40 pm

/NewSync - Use Property instead of Path.

I am using AdvancedInstaller 11.4.

I am setting up an installer where the installation directory is based on a property.

#APPDIR
##[|Environment]
###Files

I wish to use the /NEWSYNC to dynamically populate the installer as it goes though the MSBUILD process. However it seems I am unable to sync with a dynamic path.

For example:

advancedinstaller.com /edit myProject.aip /newsync APPDIR\[\ENVIRONMENT]\Files d:\SourceDir

Can this be done?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: /NewSync - Use Property instead of Path.

Hi and welcome to Advanced Installer forums.

I'm afraid that the "/NewSync" option cannot be used a dynamic path (in your case SourceDir). Can you please give us more details about your scenario (maybe exemplify), so we can better understand it and try to find a solution?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”