slawomir.zurek
Posts: 12
Joined: Mon Mar 03, 2014 9:50 am

Command /SetVersion rewrites whole aip file

Hello,
I have got a problem with complete .aip file rewriting when using command /SetVersion (it was mentioned in another thread: http://www.advancedinstaller.com/forums ... =2&t=26836). It's no matter that file is rewritten, but it makes my setup unusable - after rewriting .aip file my setup do not create shortcuts to my .exe file (creates only Uninstall shortcut).
I've deal with it by editing .aip file and replacing ProductCode (new guids) and ProductVersion (new version) - built setup look fine. But editing from command line shouldn't spoil entire setup.

I attach archive with two aip files:
IntenseSetup.aip_org - original project file
IntenseSetup.aip - file produced by editing via /SetVersion from command line.
I hope You can reproduce this behavoiur without rest of files.

Best regards,
Slawek
Attachments
Aip.zip
(36.62 KiB) Downloaded 304 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Command /SetVersion rewrites whole aip file

Hello Slawek,

I've tested your scenario but I cannot replicate it.
Since you are using Synchronized Folders, please make sure that you have available the resources when proceeding with the SetVersion command.

Unfortunately it is not sufficient for troubleshooting this issue. I will need a sample installer which replicate this behavior ( .aip project file and all necessary resources to build it) to test this on my machine and troubleshoot this further. Please create such a sample that accurately reproduces your error and send it to support at advancedinstaller dot com among with the file of commands.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
slawomir.zurek
Posts: 12
Joined: Mon Mar 03, 2014 9:50 am

Re: Command /SetVersion rewrites whole aip file

Hello Dan,
Dan wrote: I've tested your scenario but I cannot replicate it.
I was trying to prepare example for you and I found problem.

with following command all works ok:
"c:\Program Files (x86)\Caphyon\Advanced Installer 10.8\bin\x86\AdvancedInstaller.com" /edit c:\IntenseBuild\Solutions\IntensePlatform_2014.1\SetupAI\IntenseSetup.aip /SetVersion 14.1.200

but one litlle change (slash instead of backslash before intenseSetup.aip - look for red one in following line), and it works, but completly changes .aip file:
"c:\Program Files (x86)\Caphyon\Advanced Installer 10.8\bin\x86\AdvancedInstaller.com" /edit c:\IntenseBuild\Solutions\IntensePlatform_2014.1\SetupAI/IntenseSetup.aip /SetVersion 14.1.200

Sorry - It is my fault (i built wrong path in my NANT script).

Regards,
Slawek
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Command /SetVersion rewrites whole aip file

Hi Slawek,

At least you found the problem. I'm glad you got this working.

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”