Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

uninstall/install msi

Status
Not open for further replies.

GrimR

IS-IT--Management
Jun 17, 2007
1,149
ZA
I have batch files that check the registry and if exists uninstalls the app, and then reinstalls the new version, now in Win10 these do not work as its a batch file and it does not seem to run.
So how do i convert these to powershell, thought but now there would be some good examples but I cant seem to find any.
REG QUERY HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer
then uninstall
MsiExec.exe /qn /x{E8CD60E4-8D29-451A-A7FC-7D0D433831BC}
then install
msiexec /i /qn "\\server\software$\Toolbar \PPT\Debug\GlobalSetup.msi"

MCSE NT to 2012, MCITP:EA/SA, MCSA, MCDBA, MCTS, MCP+I, MCP
 
no need for help got this working

MCSE NT to 2012, MCITP:EA/SA, MCSA, MCDBA, MCTS, MCP+I, MCP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top