How to change the version string using powershell bat file - Advanced Installer Community
akshay karambale
Posts: 49
Joined: Thu May 28, 2020 8:04 am

How to change the version string using powershell bat file

Hi,
We have created one Bootstrapper, and also we have one powershell bat file using which we have able to fetch the version from dll file. Now our requirement is to assign that version to version string of our bootstrapper project using that bat file. How we can achieve this scenario? can you please help us to acieve this scenario. We are waiting for your reply.


Thanls and Regards
Akshay
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: How to change the version string using powershell bat file

Hello Akshay,

I am not quite sure you need a script in order to achieve that.

If you want to retrieve the version from your .DLL file and assign that to your bootstrapper, all you need to do is:

- add the .DLL file in the "Files and Folders" page

- go to "Product Details" page

- right click on the "Version" field --> "Set version from file" --> select your .DLL file

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”