I am trying to change a Setup project (.NET 2005) so that I will be
able to perform a 'Quiet INstallation' without UI.
When I install this product with UI - I have several properties that I
have to set during installation: Some text boxes, and some radio
buttons.
1) How can I access Property table?
2) How to I update the 'SecureCustomProperties', so that an installing
user will be able to set his values to PUBLIC properties?
3) How do I get the return code from msiexec command? (I want to know
if it succeeded, or not + error code.)
4) Is there any other recommended way to do it??
Thanks,
Michal.
msiexec /i "file.msi" PROPERTY1="test1" PROPERTY2="test2"
Any of your properties that you need to set from command line must be
public properties. So the properties that are in SecureCustomProperties need
to be public as well.
I believe msiexec returns non zero on failure.
Anthony
"Michal" <bsmi...@hotmail.com> wrote in message
news:1163089186.9...@i42g2000cwa.googlegroups.com...
Thanks for your reply.
I still do not understand though -
1) How do I define a public property?
2) How do I edit/CHange/Add public properties to the list in
'SecureCustomProperties ' ?
3) I enter the following on the command shell:
msiexec /i Setup.msi /quiet /l* log_7.log CLS_IP="172.23.2.121"
But CLS_IP at the end of the installation remains with the default
value set in the .NETs setup project.
Thanks,
Michal
Most of the answers to your questions are in the MSI help.
Anthony
"Michal" <bsmi...@hotmail.com> wrote in message
news:1163106365.3...@m7g2000cwm.googlegroups.com...