PDA

View Full Version : HELP! Decompression error. File: C:\... [#50]



NewsArchive
05-15-2006, 06:54 AM
Hello Friedrich,

I use your build of last Friday (1497).

Today I made a new installation script.
When I run it I get:

Decompression error
File: C:\... [#50]

What does code #50 mean?
It's a bit a complex script, so maybe you need it?

I use the script command:
Install File "C:\FILES\*.*" to "%TARGETFOLDER%\*.*" (Always Install) [Never
Replace] [Permanent]

I get the error when installing the very first file of the C:\FILES folder.

I hope you can help me.

Best regards

Jeffrey Kuijt

NewsArchive
05-15-2006, 06:55 AM
Jeffrey,

I would suggest to check the uninstall log to find out which files causes
this error. The error code comes from the Windows OS.

Then add the above (original) file to a simple test script. Do you still
see the same decompression error code? If this is the case, please send
the original file to support (at) lindersoft (dot) com. Please also send
your serial number so the Support Dept. has all your details available.

Thanks,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
05-15-2006, 06:55 AM
Jeffrey,

BTW, please also send your compiler .htm report file to Support.

Thanks,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
05-15-2006, 07:54 AM
Hi Friedrich,

I just send you an email with the files.

Best regards

Jeffrey Kuijt

NewsArchive
05-15-2006, 07:55 AM
Hi Jeffrey,

Thank you. We found out that this is a documentation problem :-(

The "Install File" function cannot be used from within a Loop structure.
It is documented in our internal manuals, but I cannot find it in the
public online help/manual.

Note added to the public documentation now, thank you.

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
05-15-2006, 09:01 AM
Hi Friedrich,

That's a very pity!
But how can I accomplish what I want?
I need to create folders based upon the information in SETUP.INI.
This can be 2 folders, but sometimes more than 2 folders.

Best regards

Jeffrey Kuijt

NewsArchive
05-15-2006, 09:01 AM
Hi Jeffrey,

Folder creation is not a problem! You can use all functions (except
"Install File") in a Loop Structure.

HTH,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
05-15-2006, 09:02 AM
Hi Friedrich,

OK, Then I can create the folders but I also need to copy the right files in
the right folders.
How can I do that easily?

Best regards and thanks!

Jeffrey Kuijt

NewsArchive
05-15-2006, 09:02 AM
Hi Jeffrey,

Just make sure you don't have the "Install File" function in your Loop
structure.

For example, move the "Install File" part outside your Loop structure and
use If..Then..ElseIf..Else..End.

The problem is that your technique destroys the file installation sequence.
SB5 is a high-performance installation system. Quite a few companies
install tens of thousand files (from a single file image or multiple-
volumes). It would be way too time consuming to build the file sequence
table at runtime. And for multiple-volumes, it would be a nightmare to
install. The compiler handles the dirty work at compile time and generates
a "perfect install image".

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
05-15-2006, 09:02 AM
Hi Friedrich,

OK. I will.

Thanks a lot for your solution!

Best regards

Jeffrey Kuijt