This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- manage product version in Installshield Limited Edition with msbuild
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 07, 2015
04:24 AM
manage product version in Installshield Limited Edition with msbuild
Hi,
I have a setup project created with Installshield Limited Edition 2013 from Visual Studio 2012 IDE. I could specify the product version though the Visual Studio IDE. Now i have a requirement of automating the build and managing the version during the build. For automation, i am using a batch file and invoking solution file with msbuild as follows:
set COMPILER=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
%COMPILER% TestInstall.sln /t:ReBuild /p:Configuration=SingleImage /p:ProductVersion=100.1.1
As mentioned in one of the Installshield help file, i gave the parameter for ProductVersion too. But it is not working. The built setup.exe is having some other version than specified above. Please let us know your ideas.
Thanks,
Prasanth
I have a setup project created with Installshield Limited Edition 2013 from Visual Studio 2012 IDE. I could specify the product version though the Visual Studio IDE. Now i have a requirement of automating the build and managing the version during the build. For automation, i am using a batch file and invoking solution file with msbuild as follows:
set COMPILER=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
%COMPILER% TestInstall.sln /t:ReBuild /p:Configuration=SingleImage /p:ProductVersion=100.1.1
As mentioned in one of the Installshield help file, i gave the parameter for ProductVersion too. But it is not working. The built setup.exe is having some other version than specified above. Please let us know your ideas.
Thanks,
Prasanth
- Tags:
- installshield le
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 07, 2015
08:44 AM
Hi Prasanth,
Try passing in InstallShieldProductVersion rather than ProductVersion.
Try passing in InstallShieldProductVersion rather than ProductVersion.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 09, 2015
12:26 AM
Hi kyi,
The method which you suggested worked. Thanks!. Also it is very light weight solution. Thanks!
I had also found another way to achieve this which i am just sharing here:
1. Pass a parameter (NewVer) and value (version string ) to msbuild.exe
2. Override the ProductVersion in *.isproj file with this passed value of the property. Please refer below:
Under add the below thing in isproj file.
ProductVersion
Thanks,
Prasanth
The method which you suggested worked. Thanks!. Also it is very light weight solution. Thanks!
I had also found another way to achieve this which i am just sharing here:
1. Pass a parameter (NewVer) and value (version string ) to msbuild.exe
2. Override the ProductVersion in *.isproj file with this passed value of the property. Please refer below:
Under
Thanks,
Prasanth