cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
shingo_suzuki
Level 3

Can property of IS Project be changed by script?

I'm now trying to create an installer of "AppXXX.exe" by InstallShield2011 + Windows 7 64bit.
Installer project is "Basic MSI"

"AppXXX.exe" has version and we are planing to install it into separate folder depends on version.
For example,
Program Folder - AppXXX - 1.0.0 - AppXXX.exe
- 1.1.0 - AppXXX.exe
And strings shown in install dialog will be "AppXXX 1.0.0".

Therefore, we have a lot of strings "1.0.0" in InstallShield project property sheet.
For example,
[General Information]
"Product Name" : AppXXX 1.0.0
"Product Version" : 1.0.0
INSTALLDIR : ......\AppXXX\1.0.0

[Releases]
Product Name : AppXXX 1.0.0
Product Version : 1.0.0

And so on.

My question is:
Must I change these strings "1.0.0" by hand via GUI of InstallShield when version changes?
It is annoying and caussation of mistake.
So, is there a way to change property of InstallShield project by script or commandline?

Thanks
Labels (1)
0 Kudos
(1) Reply
shingo_suzuki
Level 3

Self-reply
I found that "-z" option of command line build "IsCmdBld.exe" is a solution.
But I have still questions.
- How to change property whose value is given automaticallly such as "Product Code".
- I could not change INSTALLDIR
I set this property "[ProgramFilesFolder]XXX\YYY\100" via GUI.
Then I changed this via "-z" option like,
"INSTALLDIR=[ProgramFilesFolder]XXX\YYY\110"
Then installer shows error message.
-Can I chang value in Released page? (Product Name or Product Version in Releases)

Thanks
0 Kudos