MSIEXEC Issue

kulisncc
kulisncc used Ask the Experts™
on
I wrote a logon script that works great except for the most important part, the application installation. Actually the application installs perfectly, however, it does not show up in Add/Remove Programs, but it is registered in the registry. For some reason if I run:

Msiexec.exe /qn /i "my.msi"

it installs but like I said, it does not show in Add/Remove Programs, but if I run with UI:

Msiexec.exe /i "my.msi"

it does show up in Add/Remove Programs.

The only thing that I can presume is that the actual msi package itself has been configured/constructed for this to occur, but I do not know why.

Should I use InstEd to break into the msi package and tweak it or what? I really need this application to show in Add/Remove Programs.




Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2013

Commented:
kulisncc--Why do you feel you have to start msiexec.exe at boot?  Msiexec.exe is the executable for starting Windows Installer.   Windows Installer is installed by default as part of the installation of most versions of Windows, including Windows 7.  It is used by certain programs to assist in their installation.  
msiexec.exe is not normally started automatically at boot, but is turned on automatically when a program signals for use of Windows Installer.
From this reference  
http://process.networktechs.com/MsiExec.exe.php
"MsiExec.exe is the executable for the windows installer. This should only be running while you are running an installer."  If you really want Windows Installer to be running all the time, set it to start Automatically in Services
Windows Installer is not in my Control Panel|Programs and Features.  Why do you feel you need this program to appear there?
If you want to disable Windows Installer, the path to the executable is C:\Windows\system32\msiexec.exe /V

What is the application you are trying to install from the logon script?

Author

Commented:
Perhaps I did not make myself very clear. I know very well that msiexec is a native program and that it is called upon when manually running an msi package. What I am trying to do is to install an msi package when a user logs on using a scrpt that I wrote. In one of the lines of the script I have the following:

Msiexec.exe /i "my.msi"

But, if I do it thie way, then the program I am installing does not register in such a way that it is visible within Add/Remove Programs. However, if I run it manually or use the following line within my script:

Msiexec.exe /i "my.msi"

...it does get registered in Add/Remove Programs.

So, my question is, how do I get this msi package to run silently without any user input but also get it registered in Add/Remove Programs? Thanks.
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Author

Commented:
DAMMIT!! I meant: Msiexec.exe /qn /i "my.msi" for the first line above. Sorry.

Author

Commented:
The application is Strata Excel Client 7.5.122 from Strata Decision Technology
Commented:
Nevermind, I figured it out. I just had to use the ALLUSERS=1 option in order to get it to show up in Add/Remove Programs.

Author

Commented:
I researched my issue more and found on Microsft's website how to get it working correctly.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial