We help IT Professionals succeed at work.

msiexec /x.... and getting a prompt for source path. Is there a switch that I can use in a batch file to answer?

4,906 Views
Last Modified: 2013-11-13
We are in the process of upgrading to Bindview PSS DirectLogin 8.0 to 700+ (XP) machines in our Domain. I need to push out this upgrade. In my research, it seems that I have to "uninstall" the previous version and upgrade to 8.0.  I have tried using the msiexec /x (uninstall) command and a prompt comes that is looking for the .msi ("The feature you are trying to use is on a network resource that is unavailable" error ). I wanted to push this "Silently" out as an Autoinstall or some sort of batch file, with no user intervention. The previous install was not pushed through GPO. It was pushed using a script that I do not have.

Here is the contents of the batch file. Sorry, I am very new to this and do not know scripting and am very limited in .bat

- msiexec /x "\\nt950n1\installs\Bindview\Password Self Service 7.20\BindView Password Self Service DirectLogin 7.20.msi"
OR using the uninstall string.....
- MsiExec.exe /x {28573016-7632-41D3-B77E-0C401672C2ED} /qn

Both methods prompt for the original package, which was deleted and no longer exists in the original path.

Thanks,

Larry
Comment
Watch Question

William ElliottSr Tech Guru
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Did you use Group policy to install to all machines?

Author

Commented:
No, GPO was NOT used to push out original install. It was a script.
Is this happening to all machines?

Author

Commented:
I notated above that I tried the ADD/Removes uninstall.
"OR using the uninstall string.....
- MsiExec.exe /x {28573016-7632-41D3-B77E-0C401672C2ED} /qn "

This will work, but the problem is that I have to enter a "Source Path" and point it to the .msi. I need to make this a batch fille or script and not have to browse to the path on the "NETWORK", not local (does not exist). I need it to be "Unatteneded"
William ElliottSr Tech Guru
CERTIFIED EXPERT

Commented:
this is really one of the reasons i abhore msi technilogy

unfortunately if you don't have the original install with this guid
28573016-7632-41D3-B77E-0C401672C2ED
then you may have to do as top_gizmo stated above
reinstall with what you have, then uninstall.

or contact vendor and ask for their suggestions.

Author

Commented:
Thank you very much top_gizmo and weelio for your responses and assistance. Top_Gizmo hit it on the head. After you said to re-install it, I did so more research and testing and that was it. I needed to re-install the package and it changed the InstallSource path. Now, I can run the UninstallString... [MsiExec.exe /x {28573016-7632-41D3-B77E-0C401672C2ED} /qn] and the uninstall runs smoothly.

400 points to top_gizmo
100 points to weelio (for trying and assisting)

Thanks!

Larry

Author

Commented:
Thank you very much top_gizmo and weelio for your responses and assistance. Top_Gizmo hit it on the head. After you said to re-install it, I did so more research and testing and that was it. I needed to re-install the package and it changed the InstallSource path. Now, I can run the UninstallString... [MsiExec.exe /x {28573016-7632-41D3-B77E-0C401672C2ED} /qn] and the uninstall runs smoothly.

400 points to top_gizmo
100 points to weelio (for trying and assisting)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.