Hallo,
um mal irgendwie bei den Winst Scripten nen Durchblick zu bekommen, würde ich gern wissen wie ihr die Verteilung vom neuen Firefox 4 mit WInst vorgenommen habt. Damit ich mal so ein Grundgerüst sehe. Die Skripts im Wiki scheinen ja schon ziemlich veraltet zu sein.
Danke
Mfg
SeBBo
Firefox 4 Winst
Re: Firefox 4 Winst
Hallo,
ich habe die scripts aus dem wiki hergenommen und diese bisschen angepasst.
funktioniert eig einwandfrei.
gruß
ich habe die scripts aus dem wiki hergenommen und diese bisschen angepasst.
funktioniert eig einwandfrei.
gruß
Re: Firefox 4 Winst
Wärst du dann so freundlich, das hier reinzustellen?
Würde mich auch interessieren, Danke
Würde mich auch interessieren, Danke
Re: Firefox 4 Winst
Hallo,
ich habe die proxyeinstellungen, nicht mit in das script aufgenommen, da wir es nicht brauchen.
[Aktionen]
Message=Installing Mozilla Firefox 4.0...
SetLogLevel=7
ScriptErrorMessages=true
ExitOnError=true
TraceMode=Off
DefVar $InstallDir$
DefVar $PRODUCTPATH$
DefVar $MinimumSpace$
DefVar $MozInstallDir$
DefVar $MozInstallPathRegKey$
DefVar $MozVersion$
DefVar $UninstallCommand$
Set $MinimumSpace$ = "500 MB"
Set $PRODUCTPATH$="%ProgramFilesDir64%\Mozilla Firefox"
set $InstallDir$=$PRODUCTPATH$
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive%
isFatalError
; Stop process and set installation status to failed
endif
if GetMsVersionInfo >= "6"
if GetSystemType = "64 Bit System"
set $MozVersion$ = GetRegistryStringValue ("[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Mozilla\Mozilla Firefox] CurrentVersion")
set $MozInstallPathRegKey$ = "[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Mozilla\Mozilla Firefox\"+$MozVersion$+"\Main]"
set $MozInstallDir$ = GetRegistryStringValue ($MozInstallPathRegKey$+" Install Directory")
endif
endif
if GetMsVersionInfo < "6"
set $MozVersion$ = GetRegistryStringValue ("[HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox] CurrentVersion")
set $MozInstallPathRegKey$ = "[HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox\"+$MozVersion$+"\Main]"
set $MozInstallDir$ = GetRegistryStringValue ($MozInstallPathRegKey$+" Install Directory")
endif
if FileExists("%ScriptPath%\delsub.ins")
comment "start uninstall"
sub "%ScriptPath%\delsub.ins"
endif
comment "Installing Firefox"
winbatch_mozilla_install
[winbatch_mozilla_install]
"%SCRIPTPATH%\Firefox_Setup_4.0.exe" /S /NCRC /D=C:\Programme\Mozilla Firefox
ich habe die proxyeinstellungen, nicht mit in das script aufgenommen, da wir es nicht brauchen.
[Aktionen]
Message=Installing Mozilla Firefox 4.0...
SetLogLevel=7
ScriptErrorMessages=true
ExitOnError=true
TraceMode=Off
DefVar $InstallDir$
DefVar $PRODUCTPATH$
DefVar $MinimumSpace$
DefVar $MozInstallDir$
DefVar $MozInstallPathRegKey$
DefVar $MozVersion$
DefVar $UninstallCommand$
Set $MinimumSpace$ = "500 MB"
Set $PRODUCTPATH$="%ProgramFilesDir64%\Mozilla Firefox"
set $InstallDir$=$PRODUCTPATH$
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive%
isFatalError
; Stop process and set installation status to failed
endif
if GetMsVersionInfo >= "6"
if GetSystemType = "64 Bit System"
set $MozVersion$ = GetRegistryStringValue ("[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Mozilla\Mozilla Firefox] CurrentVersion")
set $MozInstallPathRegKey$ = "[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Mozilla\Mozilla Firefox\"+$MozVersion$+"\Main]"
set $MozInstallDir$ = GetRegistryStringValue ($MozInstallPathRegKey$+" Install Directory")
endif
endif
if GetMsVersionInfo < "6"
set $MozVersion$ = GetRegistryStringValue ("[HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox] CurrentVersion")
set $MozInstallPathRegKey$ = "[HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox\"+$MozVersion$+"\Main]"
set $MozInstallDir$ = GetRegistryStringValue ($MozInstallPathRegKey$+" Install Directory")
endif
if FileExists("%ScriptPath%\delsub.ins")
comment "start uninstall"
sub "%ScriptPath%\delsub.ins"
endif
comment "Installing Firefox"
winbatch_mozilla_install
[winbatch_mozilla_install]
"%SCRIPTPATH%\Firefox_Setup_4.0.exe" /S /NCRC /D=C:\Programme\Mozilla Firefox