Jimmy
Posts: 36
Joined: Thu Apr 12, 2012 1:13 pm

/SetVersion as a PreBuild Event

Hi there

I was able to get a new Package Version using /SetVersion -fromfile- method with commandline tool.
I it possible to something similar as a pre-build event?
I assume it doesn't make some sense if I try to implement the CL- method to a project, while it is open?

Thanks in advance an d best regards!
Jimmy
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: /SetVersion as a PreBuild Event

Hi Jimmy,

Unfortunately, you cannot perform any Advanced Installer CLI changes on your project as a build event. This happens because that information is used from memory at build time and not from the disk.

You can try a designated automated build CLI approach like ANT for example.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jimmy
Posts: 36
Joined: Thu Apr 12, 2012 1:13 pm

Re: /SetVersion as a PreBuild Event

Hi Mihai
Thank you for your answer, which saves me a couple of hours to try needless tests!
Great support!

Return to “Building Installers”