Justin_Christian Posted June 5, 2020 Share Posted June 5, 2020 Hallo, Ich versuche derzeit ein skript zu kompilieren was eine Source Datei von ca. 2,2 GB hat. Das funktioniert leider nicht! Ich habe gelesen, dass die Standardberegenzung 2,14GB liegt. Kann man die Begrenzung irgendwie erhöhen oder gibt es eine andere Möglichkeit? Hello, I am currently trying to compile a script with a source file of approx. 2.2 GB. This doesn't work. I have read that the standard limitation is 2.14GB.Can you somehow increase the limit or is there another way? Link to comment Share on other sites More sharing options...
Developers Jos Posted June 5, 2020 Developers Share Posted June 5, 2020 (edited) I think this is a windows limitation, but why would you ever want to do this at all? Jos Edited June 5, 2020 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Justin_Christian Posted June 9, 2020 Author Share Posted June 9, 2020 (edited) Hi, at this Page https://www.autoitscript.com/autoit3/docs/appendix/LimitsDefaults.htm i found the limitations. I want to install a CAD-Software with die command "_InstallMSIPackageWithOption" for this i have the package with in the code. ; Copy setup files ProgressSet(30, "Please wait." & @CRLF & "Copying setup files ...", $ProgressMainText) _LDEcho("Install source.7z to " & $_WorkDir) $checkFileInstall = FileInstall(".\source.7z", $_WorkDir, 1) _LDEcho("Install 7za.exe to " & $_WorkDir) $checkFileInstall = FileInstall(".\7za.exe", $_WorkDir, 1) ; Unpack source.zip ProgressSet(35, "Please wait." & @CRLF & "Unpacking setup files ...", $ProgressMainText) _UnpackZip("source.7z") ;Install New Software Version ProgressSet(70, "Please wait." & @CRLF & "Install new software ...", $ProgressMainText) _InstallMSIPackageWithOption("Dlubal RSTAB 64-bit.msi", "/norestart /passive TRANSFORMS=1031.mst") If @error Then Exit @error Edited June 9, 2020 by Justin_Christian Link to comment Share on other sites More sharing options...
Developers Jos Posted June 9, 2020 Developers Share Posted June 9, 2020 Just distribute the Installer and the AUtoIt3Script as separate files and run the Installer with the AutoIt3 script. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Justin_Christian Posted June 9, 2020 Author Share Posted June 9, 2020 And how does it work?Sorry, i don't know how it works Link to comment Share on other sites More sharing options...
Developers Jos Posted June 9, 2020 Developers Share Posted June 9, 2020 How would you distribute the AutoIt3.exe with the included installer? Use the same method but distribute 2 files: The AutoIt3 script and separate installer file. Pretty strait forward. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Justin_Christian Posted June 9, 2020 Author Share Posted June 9, 2020 I don't know what you mean. for normally we have all Installation Files in a ZIP-File and transmit this with the exe. At the lokal directory i unpack the source.7z and then i'm able to install the MSI as it says the code above. I didn't know how i can mount a network drive as a path. _InstallMSIPackageWithOption("Dlubal RFEM 64-bit.msi", "/norestart /passive TRANSFORMS=1031.mst") Link to comment Share on other sites More sharing options...
Developers Jos Posted June 9, 2020 Developers Share Posted June 9, 2020 2 hours ago, Jos said: How would you distribute the AutoIt3.exe with the included installer? So what about this simple question for starters? How would you distribute your compiled script containing the script and all installer files? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
BigLongDick Posted June 9, 2020 Share Posted June 9, 2020 On 6/5/2020 at 1:14 PM, Justin_Christian said: Hallo, Ich versuche derzeit ein skript zu kompilieren was eine Source Datei von ca. 2,2 GB hat. Das funktioniert leider nicht! Ich habe gelesen, dass die Standardberegenzung 2,14GB liegt. Kann man die Begrenzung irgendwie erhöhen oder gibt es eine andere Möglichkeit? Hello, I am currently trying to compile a script with a source file of approx. 2.2 GB. This doesn't work. I have read that the standard limitation is 2.14GB.Can you somehow increase the limit or is there another way? Hey Justin_Christian, I have the same problem and don't know how to solve it. 12 minutes ago, Jos said: So what about this simple question for starters? How would you distribute your compiled script containing the script and all installer files? Jos I'm very happy that you try to help justin_christian and now myself. But I don't know what you mean. Can you make a better description about the solution? You are a developer and should descripe it for everyone.... Best regards, BigLongDick from Germany Link to comment Share on other sites More sharing options...
Zedna Posted June 9, 2020 Share Posted June 9, 2020 (edited) @Justin_Christian Instead of FileInstall() use FileCopy(), rest of your script should stay the same. You may post source of your function where you encounter problems ... _InstallMSIPackageWithOption() EDIT: I also recommend to use ABSOLUTE paths in all commands. Edited June 9, 2020 by Zedna Justin_Christian 1 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Developers Jos Posted June 9, 2020 Developers Share Posted June 9, 2020 29 minutes ago, BigLongDick said: Jos I'm very happy that you try to help justin_christian and now myself. Makes sense as he is probably sitting next to you. Anyways: The question is: How do you guys distribute the software to the PC's where this installer needs to run on? Do you want to copy/run it from a server (Not recommended for such a large file) or do you use something like the Windows BITS service to get the software first to the Computers? Jos Danp2 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Justin_Christian Posted June 10, 2020 Author Share Posted June 10, 2020 18 hours ago, Zedna said: Instead of FileInstall() use FileCopy(), rest of your script should stay the same. Thanks for this! I tried it first on the local system like this: ; Copy setup files ProgressSet(30, "Please wait." & @CRLF & "Copying setup files ...", $ProgressMainText) _LDEcho("Copy source.7z to " & $_WorkDir) $checkFileCopy = FileCopy("C:\RFEM_Update_52203\source.7z", $_WorkDir, 1) _LDEcho("Copy source.7z: " & $checkFileCopy) _LDEcho("Copy 7za.exe to " & $_WorkDir) $checkFileCopy = FileCopy("C:\RFEM_Update_52203\7za.exe", $_WorkDir, 1) _LDEcho("Copy 7za.exe: " & $checkFileCopy) It actually worked! Thank you! Link to comment Share on other sites More sharing options...
Zedna Posted June 10, 2020 Share Posted June 10, 2020 Use: $checkFileCopy = FileCopy(@ScriptDir & "\source.7z", $_WorkDir, 1) Justin_Christian 1 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now