disable uninstall not working
This commit is contained in:
parent
a6588f0a25
commit
367edd2283
@ -41,10 +41,10 @@ else
|
||||
comment "Show product picture"
|
||||
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
|
||||
|
||||
if FileExists("%ScriptPath%\delsub32.ins")
|
||||
comment "Start uninstall sub section"
|
||||
Sub "%ScriptPath%\delsub32.ins"
|
||||
endif
|
||||
; if FileExists("%ScriptPath%\delsub32.ins")
|
||||
; comment "Start uninstall sub section"
|
||||
; Sub "%ScriptPath%\delsub32.ins"
|
||||
; endif
|
||||
|
||||
Message "Installing " + $ProductId$ + " ..."
|
||||
|
||||
@ -82,8 +82,8 @@ endif
|
||||
; You can use $LicenseKey$ var to pass a license key to the installer
|
||||
;
|
||||
|
||||
rundll32 advpack.dll,LaunchINFSection %ScriptPath%\X86FILE,Install
|
||||
rundll32 advpack.dll,LaunchINFSection %ScriptPath%\AcceptEULA,Install
|
||||
rundll32 setupapi,InstallHinfSection DefaultInstall 132 %ScriptPath%\Install_SysinternalsSuite.inf
|
||||
rundll32 setupapi,InstallHinfSection DefaultInstall 132 %ScriptPath%\AcceptEULA.inf
|
||||
|
||||
|
||||
|
||||
|
@ -32,10 +32,10 @@ ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
|
||||
|
||||
Message "Uninstalling " + $ProductId$ + " ..."
|
||||
|
||||
if FileExists("%ScriptPath%\delsub32.ins")
|
||||
comment "Start uninstall sub section"
|
||||
Sub "%ScriptPath%\delsub32.ins"
|
||||
endif
|
||||
; if FileExists("%ScriptPath%\delsub32.ins")
|
||||
; comment "Start uninstall sub section"
|
||||
; Sub "%ScriptPath%\delsub32.ins"
|
||||
; endif
|
||||
|
||||
if $LicenseRequired$ = "true"
|
||||
comment "Licensing required, free license used"
|
||||
|
2
build.sh
2
build.sh
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
PN="sysinternalsuite"
|
||||
VERSION="2011.05.18"
|
||||
RELEASE="1"
|
||||
RELEASE="2"
|
||||
PRIORITY="0"
|
||||
ADVICE=""
|
||||
TYPE="public"
|
||||
|
4
readme
Normal file
4
readme
Normal 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
|
Loading…
Reference in New Issue
Block a user