/build/static/layout/Breadcrumb_cap_w.png

How to determine which type of installation in silent mode?

Hi folks,

I am new to the MSI world.

I have a basic doubt, anyone plz clarify it.

How can we tell if an installation is running in silent mode? Is uninstalling? Is an administrative installation?

Thanks in advance.

Regards,
Anand

0 Comments   [ + ] Show comments

Answers (5)

Posted by: anonymous_9363 15 years ago
Red Belt
2
Is it me or are questions getting more bizarre these days?

You don't specify when this information would be required. If it was required during the install itself:

1. running in silent mode?
You can test the UILEVEL property.

2. Is uninstalling?
Test the contents of the REMOVE property.

3. Is an administrative installation?
You'd have to read the MSI's WordCount property. Not simple, but I think the SDK has a sample script for that.

If you wanted to know what was happening external to the install itself, I think you would have to use WMI to determine the command line arguments passed to MSIExec. Check out 'Win32_Process' namespace and its CommandLine property on MSDN.
Posted by: kiptek 15 years ago
Second Degree Green Belt
0
How can we tell if an installation is
1. running in silent mode?
2. Is uninstalling?
3. Is an administrative installation?

1 - look to see if msiexec is running in task manager.
2 - it will no longer be available on the machine.
3 - it does not install the application. plus if you run a /a, it will ask you for a location to copy the files to...
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
0
1) you wont see the installation yet it will be there after completion
2) you can display the REMOVE property if you want to know.
3) you can display the ACTION property
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
0
Ian,

I was thinking the very same thing. The questions are getting bizarre.

As for your last comment on the wordcount property using SDK scripts.

I wonder how they come up with PageCount and WordCount they hardly describe what they are.. strange.
Posted by: anonymous_9363 15 years ago
Red Belt
0
ORIGINAL: jmcfadyen
I wonder how they come up with PageCount and WordCount they hardly describe what they are.. strange.
I've wondered the same thing for many years. My guess is that they urgently needed somewhere to put that data without altering the code and plumped for these otherwise unused locations. Lazy => MS developers => Lazy, the circle of life.
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