News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Install program

Started by Magnum, February 12, 2011, 02:43:36 AM

Previous topic - Next topic

Antariy

Quote from: Magnum on February 14, 2011, 03:08:26 AM
The compression is comparable to Winzip as you can see if you run the bat file.

Now to see if the utility can be redistributed.

The utility was first used when floppies were common.

Is not anybody anytime read anything what I've written??? :(

Use *LZX compression* - then WinZip are far away...

Repeat:


makecab /D CompressionType=LZX /D CompressionMemory=21 SomeFile.Ext


Test.bat contents to change:

makecab /D CompressionType=LZX /D CompressionMemory=21 makecab.exe new.cab


Magnum

Thanks.

Your way was about 10% smaller.

Can it decompress as well?
Have a great day,
                         Andy

Antariy

Quote from: Magnum on February 14, 2011, 03:31:59 AM
Thanks.

Your way was about 10% smaller.

Can it decompress as well?

With some kinds of data (like raw images, or documents) it may be better than even WinRAR.

Yes it is decompressible normally by all the programs which support CAB format decompresion.

Magnum

I found the answer.

Expand.exe

Since M.S. is consistent, some of the expand command lines don't make sense.  :boohoo:

expand cabbie.cab -r which renames it. ??

Have a great day,
                         Andy

dedndave

renames expanded files
if you poke around in the I386 cabinet files, that will make more sense to you   :bg

Magnum

Thanks, I will put that on my to do list.

I am documenting my ReportEvent code more to find out why it isn't working.

I am doing something wrong in this statement and I believe it is my event identifier.

DWORD dwEventID,   // event identifier

invoke ReportEvent,hEventLog,EVENTLOG_INFORMATION_TYPE,1,02h, 
NULL,1,sizeof string1,addr stringpointers,NULL

For it to work requires a registry entry, a .dll, and a whole lot of luck.  :dazzled:

What makes it hard to fix is that I get the same Error_IO_Pending when:

1. The dll is missing
2. The registry entry isn't there

If someone else would be willing to test it on a non XP Home Edition, I could zip up everything including the .reg file.

Maybe it doesn't work on the Home Edition?




Have a great day,
                         Andy