/build/static/layout/Breadcrumb_cap_w.png

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?

0 Comments   [ + ] Show comments

Answers (9)

Posted by: lanselots 14 years ago
Fifth Degree Brown Belt
0
maybe i need to do something more
Posted by: anonymous_9363 14 years ago
Red Belt
0
maybe i need to do something more Yes, you do. You need to write the property name in all upper-case! Your Property table entry would then look like this:

Property Value
====== ===
CP_SERVER whatever the name is goes here

Then, use the command line I posted earlier.
Posted by: lanselots 14 years ago
Fifth Degree Brown Belt
0
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
Posted by: anonymous_9363 14 years ago
Red Belt
0
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 14 years ago
Red Belt
0
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 14 years ago
3rd Degree Black Belt
0
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!
Posted by: lanselots 14 years ago
Fifth Degree Brown Belt
0
I allredy named in property that server like that,but may be,if i added two new registers,i maybe need to make two writes in property,but i know that i can put only one whith name like that so i confused
Posted by: anonymous_9363 14 years ago
Red Belt
0
OK, it sounds like you want the contents of that property to be used in a couple of registry entries. Is that right?
Posted by: lanselots 14 years ago
Fifth Degree Brown Belt
0
in property manager i writed CP_server and server name,so it should use that name to configure the server but it dosnt
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ