disable uninstall not working

This commit is contained in:
Mario Fetka 2011-06-26 13:29:59 +02:00
parent a6588f0a25
commit 367edd2283
5 changed files with 21 additions and 11 deletions

View File

@ -41,10 +41,10 @@ else
comment "Show product picture" comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$ ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
if FileExists("%ScriptPath%\delsub32.ins") ; if FileExists("%ScriptPath%\delsub32.ins")
comment "Start uninstall sub section" ; comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub32.ins" ; Sub "%ScriptPath%\delsub32.ins"
endif ; endif
Message "Installing " + $ProductId$ + " ..." Message "Installing " + $ProductId$ + " ..."
@ -82,8 +82,8 @@ endif
; You can use $LicenseKey$ var to pass a license key to the installer ; You can use $LicenseKey$ var to pass a license key to the installer
; ;
rundll32 advpack.dll,LaunchINFSection %ScriptPath%\X86FILE,Install rundll32 setupapi,InstallHinfSection DefaultInstall 132 %ScriptPath%\Install_SysinternalsSuite.inf
rundll32 advpack.dll,LaunchINFSection %ScriptPath%\AcceptEULA,Install rundll32 setupapi,InstallHinfSection DefaultInstall 132 %ScriptPath%\AcceptEULA.inf

View File

@ -32,10 +32,10 @@ ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
Message "Uninstalling " + $ProductId$ + " ..." Message "Uninstalling " + $ProductId$ + " ..."
if FileExists("%ScriptPath%\delsub32.ins") ; if FileExists("%ScriptPath%\delsub32.ins")
comment "Start uninstall sub section" ; comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub32.ins" ; Sub "%ScriptPath%\delsub32.ins"
endif ; endif
if $LicenseRequired$ = "true" if $LicenseRequired$ = "true"
comment "Licensing required, free license used" comment "Licensing required, free license used"

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
PN="sysinternalsuite" PN="sysinternalsuite"
VERSION="2011.05.18" VERSION="2011.05.18"
RELEASE="1" RELEASE="2"
PRIORITY="0" PRIORITY="0"
ADVICE="" ADVICE=""
TYPE="public" TYPE="public"

4
readme Normal file
View File

@ -0,0 +1,4 @@
Creating the Install_SysinternalsSuite.inf:
follow the howto:
http://blogs.technet.com/b/elevationpowertoys/archive/2010/10/27/powershell-script-to-create-a-sysinternals-suite-inf-file-installer.aspx

6
todo Normal file
View File

@ -0,0 +1,6 @@
ToDo:
* reactivate the uninstall
* extend the acceptEULA.inf to the new tools in the suite
Done: