Seite 1 von 1

.msi Uninstall stucked at loading skin phase - SOLVED

Verfasst: 11 Jan 2016, 17:18
von jakub.mrvc@gmail.com
Hi, me again

today, i'm creating a package for instalation Synology Survaillence plugin to internet explorer. setup is done. The problem is in uninstall part

My code :

Code: Alles auswählen

[Actions]

DefVar $MSIid$
DefVar $InstallDir$

Set $InstallDir$ = "C:\Program Files (x86)\Synology\SurveillancePlugin"
Set $MSIid$ = "{77A0C903-77D0-404D-B963-DF0D93EC4449}"

if FileExists($InstallDir$+"\1.0.0.774\SurveillancePlugin.exe")
WinBatch_uninstall
endif

[WinBatch_uninstall]
MsiExec.exe /x $MSIid$
[/i]

The part is stucked after winbatch uninstal section, where opsi winst only showing message "loading skin" for infinite amount of time

Absolutely don't know where should be problem, when i use only .bat with the last line localy, it works fine

I know it would be something stupid :-/
Thanks for help
Jacob

Re: .msi Uninstall stucked at loading skin phase

Verfasst: 11 Jan 2016, 17:28
von ueluekmen
Hi,

please try to modify your msi uninstall command, try to use:

Code: Alles auswählen

msiexec /x $MsiId$ /qb! REBOOT=ReallySuppress
This comes from our template. Have you checked your instlog?

Re: .msi Uninstall stucked at loading skin phase

Verfasst: 12 Jan 2016, 09:41
von jakub.mrvc@gmail.com
Hi, this works perfectly, but what means that exclamation mark after /qb?
ueluekmen hat geschrieben:

Code: Alles auswählen

msiexec /x $MsiId$ /qb! REBOOT=ReallySuppress
Anyway thank you
Jacob

Re: .msi Uninstall stucked at loading skin phase

Verfasst: 13 Jan 2016, 21:37
von SisterOfMercy
jakub.mrvc@gmail.com hat geschrieben:Hi, this works perfectly, but what means that exclamation mark after /qb?
Do not show a 'cancel'-button.

Re: .msi Uninstall stucked at loading skin phase - SOLVED

Verfasst: 14 Jan 2016, 10:36
von ueluekmen
Thx @Sister.... I have no idea... i simply use it like in our templates... 8-)

Re: .msi Uninstall stucked at loading skin phase - SOLVED

Verfasst: 14 Jan 2016, 16:03
von SisterOfMercy
Here is the reference: https://msdn.microsoft.com/en-us/librar ... 85%29.aspx

I always use /qb-!