News:

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

.:: Installing Masm Error ::.

Started by acidrain, December 09, 2007, 03:17:38 PM

Previous topic - Next topic

acidrain

hey guys, im acidrain just joined today nice site you have im just have a problem installing Masm i got the lastest verson 9, i read the last topic i have the same problem as the last guy but i turned DEP off then retryed installing Masm again but didnt work?.

ToutEnMasm

Hello,
What is your system ?
I have XP SP2 and don't have any problem with masm package?

Adamanteus

 I have Vista and for installing it made own installer using aside packge  :dazzled:

MichaelW

I just tested a fresh download of version 9 on Window XP SP2, and I had no problems, even with the AlwaysOn setting. The system processor, an early P4, does not support hardware-based DEP, so I suspect that the problems are only with systems that do support hardware-based DEP.

http://support.microsoft.com/kb/875352#6

eschew obfuscation

Adamanteus

 I'm thinking hurt code there absent, but Microsoft's counted itself program on using system overrefined, i mentioned already that setting by those firm installers in past and by Workbench now.

jj2007

DEP shows the attached box, and lets you change the settings. If you do not see this box, then it's not DEP. As mentioned in an earlier thread, it might also be a memory problem - 7z needs a lot of memory for extraction.


[attachment deleted by admin]

Vortex

Hi acidrain,

Do you have the correct permissons on your root partition?

hutch--

You can forget the memory problem, the 7zip archive used in the install is set to minimal memory usage for exactly this reason.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

BogdanOntanu

Quote
You can forget the memory problem, the 7zip archive used in the install is set to minimal memory usage for exactly this reason.

Hutch, I am afraid you can not. The "super" LZMA algorithm that everybody praise today for it's better compression ratio is in fact also a super memory eater. Forget about the advertisements on author site about low memory usage. I have "inside" information that I can not disclose here.

LZMA (used in 7z) works because most of today PC have a lot of RAM anyway. However when memory is scarce even if you setup it to use less RAM this "less" in fact means "a lot".

Also many installers do play PE and runtime tricks with memory protection and merging of sections/overlay in order to compress slightly better. This creates an endless stream of problems with DEP or Vista although it works ok on XP.

Hence I think it could be a decent option to also provide a simple ZIP containing all needed files and a batch file for building libs or other actions.

Add a warning stating that this kind of "install" is not for beginners and a minimal set of instructions about how you can install it yourself manually. This should do and offer a fair chance for a human that is both knowledgeable and dedicated.


Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro

hutch--

Bogdan,

I have built the SFX for the install using options for the dictionary and word size that keep the memory usage down a lot from what it can be if set larger. Its a trade off from size to memory usage and where that graph flattens out is where I have set the two options.

When I run it while watching Task manager for memory usage it is nearly trivial for the decompression stage which is the second dialog with the progress bar. The library build option with ML and LINK uses more memory than the decompression.

The problem with the version 9.0 install was I compressed the executable stub for 7zip using an exe compressor that was written before DEP was introduced. This is why the "finst.exe" file crashes on a DEP enabled machine.

I have a new install for version 10 running that solved all of these problems as I rebuilt every compressed binary to ensure it worked on a DEP enabled machine. I am tempted to release it as a beta but this tends to increase the support problems as the new version is still waiting for a few things from other people.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

jj2007

Quote from: BogdanOntanu on December 11, 2007, 05:01:08 AM
Hutch, I am afraid you can not. The "super" LZMA algorithm that everybody praise today for it's better compression ratio is in fact also a super memory eater. Forget about the advertisements on author site about low memory usage. I have "inside" information that I can not disclose here.
Hi Bogdan,
I use 7z for the installer of the MDG Dashboard, see signature - apparently without any problems. However, the Dashboard is only about one fifth of MASM32... but I trust Hutch that he checked for memory usage and found it's ok.
What still puzzles me is that the two persons who had this problem did not see the DEP message attached to my post above.

hutch--

I have just done an installation of version 9.0 on XP in a VM I have set up for testing and even with DEP fully enabled it installed fine. The dialog said that hardware DEP would not run on this PIV processor which is probably the reason why it worked.

Setting up XP SP2 or Vista is not really in the realm of application design but to help you out here is the Microsoft link I used to ensure that DEP was enabled on this PIV.

How to Configure Memory Protection in Windows XP SP2
http://www.microsoft.com/technet/security/prodtech/windowsxp/depcnfxp.mspx

For Vista you will have to look around thew Microsoft site to find technical data on how to set it up.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Mark Jones

Quote from: hutch-- on December 11, 2007, 08:39:32 AM
XP in a VM I have set up for testing and even with DEP fully enabled it installed fine.

Can DEP be simulated in a VM?
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

Adamanteus

 In 7-zip is context menu with Add to archive option - ever saving  :dance: