install programm and show server
HI!
I have a problem,i tride to install msi and needed also to show wht server,looks like that:
msiexec /i "program.msi" CP_Server=name
but it didnt work. any sugestions?
I have a problem,i tride to install msi and needed also to show wht server,looks like that:
msiexec /i "program.msi" CP_Server=name
but it didnt work. any sugestions?
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
anonymous_9363
13 years ago
Posted by:
lanselots
13 years ago
I allredy do that,only I put in value servername,and when i instaling i`m tying to write another server name but it dosnt work,so i know that that value dosnt mean anything,i just need to know when instaling server name,but it dosnt work:
msiexec /i "programm.msi" CP_Server=comp123
and after instalation it shows anyway my computer name,and if i try to install on another pc it shows that pc name
msiexec /i "programm.msi" CP_Server=comp123
and after instalation it shows anyway my computer name,and if i try to install on another pc it shows that pc name
Posted by:
anonymous_9363
13 years ago
OK, so now it sounds like there is a Custom Action in the MSI which is setting that property to be the installing workstation's ComputerName. Search through the MSI in Orca or InstEdit (or whatever MSI-authoring tool you are using) for the string 'CP_Server'. I'll bet you find it in theInstallExecuteSequence table.
Posted by:
anonymous_9363
13 years ago
You can only specify public properties from the command line. public properties are easily recognised: they are in all upper-case. So, presuming that the property exists in the MSI's Property table and is indeed named in all upper-case, your command line needs to be:
msiexec /i "program.msi" CP_SERVER=name
Posted by:
MSIPackager
13 years ago
In order to pass properties on the command line (CP_Server in your case) they must be public properties - which must be all upper case - so CP_Server isn't a valid property.
I'm not sure if you can have underscores but you can try CP_SERVER=name on the command line, otherwise you'll have to check the documentation or preferably have a look in the property table of "program.msi" to find the correct property name...
Regards,
Rob.
Edit: Damn, you beat me to it!
I'm not sure if you can have underscores but you can try CP_SERVER=name on the command line, otherwise you'll have to check the documentation or preferably have a look in the property table of "program.msi" to find the correct property name...
Regards,
Rob.
Edit: Damn, you beat me to it!
Posted by:
lanselots
13 years ago
Posted by:
anonymous_9363
13 years ago
Posted by:
lanselots
13 years ago

so that the conversation will remain readable.