Updating the folder and scheduled tasks - Advanced Installer Community
Dorababu
Posts: 25
Joined: Fri Jun 16, 2017 8:37 am

Updating the folder and scheduled tasks

Hi all I have an AIP where it is having some folder and services defined to some path "C:\oldpath" now when I am updating the folders and trying to modify the services using command line it is not getting updated. It is still referring to old path instead of new path because when I build the AIP I am getting errors saying the path to the DLL's does not exists. So what I need is when I build the AIP it should refer to the new AIP folders that were mentioned,

Also how can I add scheduled tasks from command line to the AIP
Test Application.aip
My AIP
(16.56 KiB) Downloaded 303 times
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Updating the folder and scheduled tasks

Hello,

I'm not sure I fully understand your scenario. It seems that the paths of your resources are broken because you've changed the resources location on the disk. In this case, you could set the Source path of any resource by double click on the entry from "Files and Folders" page and select the new path in the source path field.

Paths are stored (in AIP) by default as *relative* to the project file (AIP), if they reside on the same logical drive as the AIP.
Otherwise, they are stored in absolute form.


Check available options here:
http://www.advancedinstaller.com/user-g ... s-tab.html

Also, be aware, that if you use project app paths (symbolic variable paths), they may be subject to environment changes (dependent on the machine where you open the project) - this being the intended behavior.

http://www.advancedinstaller.com/user-g ... ables.html
http://www.advancedinstaller.com/user-g ... h-var.html

Project resource files policy:
http://www.advancedinstaller.com/user-g ... ables.html

If this doesn't help, please give us a step by step description of your workflow.
Also how can I add scheduled tasks from command line to the AIP
I'm afraid this feature is not yet implemented in Advanced Installer.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dorababu
Posts: 25
Joined: Fri Jun 16, 2017 8:37 am

Re: Updating the folder and scheduled tasks

I would like to achieve this using command line not from UI
Dorababu
Posts: 25
Joined: Fri Jun 16, 2017 8:37 am

Re: Updating the folder and scheduled tasks

Is it possible to update the file when the source path does not exists?
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Updating the folder and scheduled tasks

Hello,
I would like to achieve this using command line not from UI
Thank you for your suggestion. I have added this improvement on our TODO list and it will be available in a future version of Advanced Installer. However, we don't have an ETA for now, as our development team is very busy at the moment.
Is it possible to update the file when the source path does not exists?
Unfortunately this cannot be done.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”