![]() ![]() therefore please: only lower letters, no umlauts, $ProductId$ should be the name of the product in opsi set $INST_architecture$ = GetProductProperty("install_architecture","system specific") Set $DisplayName$ = getValue("name", $ProductInfo$) Set $DisplayVersion$ = getValue("productversion", $ProductInfo$) Error: Directory p:\firefox\files\%ProgramFiles%\Mozilla Firefox\defaults\pref does not exist and cannot be created Error: Directory p:\firefox\files\%ProgramFiles%\Mozilla Firefox does not exist and cannot be created Error: Directory p:\firefox\files\%ProgramFiles%\Mozilla Firefox\browser does not exist and cannot be created Ich möchte folgende Dateien nach der Installation von Firefox nach "C:\Program Files\Mozilla Firefox" kopieren:īekomme folgede Error im Log nach der Installation:Ĭode: Alles auswählen ~~~~~~~ End Sub ~~~~~~~ Sub_check_exitcode If stringtobool(isMsExitcodeFatal_short($exitcode$, "true", $ErrorString$ )) Set $LicenseKey$ = get_licensekey_byPoolOrKey($LicensePool$)Ĭopy -s "%scriptpath%\files\override.ini" "$InstallDir$\browser\."Ĭopy -s "%scriptpath%\files\mozilla.cfg" "$InstallDir$\."Ĭopy -s "%scriptpath%\files\autoconfig.js" "$InstallDir$\defaults\pref\."Ĭopy -s "%scriptpath%\files\extensions" "$InstallDir$\browser\." "Ĭomment "Licensing required, reserve license and get license key" If FileExists("%ScriptPath%\delsub.opsiscript") ShowBitmap "%ScriptPath%\" $ProductId$ ".png" $ProductId$ Stop process and set installation status to failed LogError "Not enough space on %SystemDrive%, " $MinimumSpace$ " on drive %SystemDrive% needed for " $ProductId$ If not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$)) LogError "Installation aborted: wrong OS version: only Windows" Set $InstallDir$ = "%ProgramFiles%\Mozilla Firefox" the path where we find the product after the installation $ProductId$ is the name of the product in opsi, only lower letters, no umlauts, no white spaces, use '-' as a seperator Importlib "%scriptpath%\osd-lib.opsiscript" and published under the Terms of the General Public License. Copyright (c) uib gmbh ( This sourcecode is owned by uib
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |