Jump to content

Recommended Posts

Posted

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?

Posted (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 by Justin_Christian
  • Developers
Posted

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.
  :)

Posted

I don't know what you mean.

for normally we have all Installation Files in a ZIP-File and transmit this with the exe.

grafik.png.c3f91cced27ab95d5309868de18c5f25.png

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")

 

  • Developers
Posted
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.
  :)

Posted
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

  • Developers
Posted
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 

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.
  :)

Posted
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!

 

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...