News:

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

Vista Compatible Install

Started by oex, January 11, 2010, 05:52:56 AM

Previous topic - Next topic

oex

arg.... rolled an app installed on XP no probs, tested on Vista and get some compatibility nag screen.... What defines a 'Vista Compatible' install?
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

sinsi

What's the app? Try 'run as admin' on the installer (even though vista tries to run every *setup*.exe as admin) and avoid installing it into 'program files'.

If you get the dialog that says 'this program has a known problem with vista' you have a 90% chance it won't work (personal experience here).
Light travels faster than sound, that's why some people seem bright until you hear them.

oex

It's a self compiled installer that copies the files to the right place and executes them.... The app works fine, no problems at all just a nag screen saying something like "Did this application install properly? If you want vista to reinstall properly click here or click here to confirm"

Obviously windows thinks there is something I should do other than copy the files over.... maybe a registry entry, put it in the "Program Files" directory instead of C:\ or something?

It also installs a screensaver so maybe the problem lies there....

As I say everything seems to work fine so it just makes my app look unproffessional atm :bg

PS Yes I do want to use my own installer not a M$ or NSIS etc one
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

dedndave

no fan of vista, here - and certainly not an expert - lol
maybe it is looking for the uninstall files ?
or registry entries for the Add/Remove Programs list ?
just guessing   :P

sinsi

Light travels faster than sound, that's why some people seem bright until you hear them.

oex

ty I will check it out and see, M$ being versionist really gets my hackles up
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

sinsi

Light travels faster than sound, that's why some people seem bright until you hear them.

hutch--

I dowenloaded it and guess what, it needs the DOT.NOT.2.0.FRAMEWORK.  ::)
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

sinsi

Quote from: hutch-- on January 12, 2010, 09:06:14 AM
I dowenloaded it and guess what, it needs the DOT.NOT.2.0.FRAMEWORK.  ::)
Well us modern people already have it as part of the os  :bg

I was more interested in the docs and faq, since I figured that the .msi had code to analyze your C source, not asm.
One guinea pig down... :toothy
Light travels faster than sound, that's why some people seem bright until you hear them.

hutch--

I have had some version of NET on a win2000 machine that did not mess anything up but after the last Microsoft SDK install that ijnstalled 4 different versions it broke a whole pile of standard API code so I was a little wary of trying it on this box again.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Farabi

I did repair my computer friend, he used vista.
He did encrypt and lock his harddisk and suddenly, the software for doing it is broken.
It took  me a month to understand how can it be solved.

So here is what I did, when the program crashes, take a look on the detail of why the software is broken.
The error code is "Buffer Protection bla bla bla". Where it mean, Vista protect the stack buffer just in case if someone abuse it.

So how to solve it? Simple, just open the windows defender, uncheck all of the memory protection, and your software will start working. This is why I more like XP than Vista. Vista is secure, but informationless.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Farabi

Oh I forget, based on my experience, turned off the buffer protection will lead you to a buffer overflow attack when connected to the internet. Never experienced it but worth to know. DDOS is a failed buffer overflow attack.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

hutch--

Its a good idea to leave the DEP in later Windows versions turned ON as it protects you from older hacks of system DLLs. If you have some old software that is not DEP compliant it may be worth setting exceptions for it but generally DEP is a good idea implimented at the OS level to slow up the idiot fringe that wrote stack exploits.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

oex

Windows Vista is still reporting my installer as 'being prepared for an old version of windows' any other ideas this is driving me nuts :lol

I have tried the SAT (Software Analysis Tool) which just lists what my installer is doing (Which obviously I already know) rather than telling me what a Vista install requires that an XP install doesnt :lol (I have no Vista machine to test on so I cant try out M$ Vista compatability auto reinstaller)

It is the most basic Vista install requirements I'm looking for, the app doesnt do anything special.... I already know certain registry entries are required for windows installer and I think I have met all of those....

If someone feels extra generous and wants to do the app install to test I can pm a link to the installer but the site isnt completed yet so I dont want to promote it to the world :bg.

If I can get it working I'll prepare a special Vista/7 Installer post for the board listing the requirements.... It is only a nag box that is the issue but it would be nice to avoid it :bg
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

Vortex

My question for Vista users moved to Windows 7 : what's the situation with the latest OS Win 7?