Welcome! Log In Create A New Profile

Advanced

Install.exe not working

Posted by Angelo 
Angelo
Install.exe not working
September 10, 2008 07:52PM
I created an installation for a client that is performing an install
on a Windows Vista machine (home edition).

For some reason, when they click the install.exe icon, nothing
happens, the machine freezes up for about 2 min and then
nothing.

Can someone tell me if there are issues in Vista with a rollout.

I'm using WDINST standard installer. (not windows ... MSI)

Help!
Angelo
TheDuke
Re: Install.exe not working
September 10, 2008 08:49PM
Vista is .....:mad:!

You have to check the option "Vista administrator Privileges" when you create the installer.

see the help : manifest for vista.

Good DEV


and scousa my bad english:rp:
Jimbo
Re: Install.exe not working
September 11, 2008 06:31AM
Hi Angelo,

at first you should state what version of WinDev you're using. If you're using a version prior to WinDev 11, you have to take care of Vista installs yourself. Which is not as dreadful as it sounds, you just have to include a manifest. Look into Google to get at that info.

Windows Vista 'offers' UAC (User Account Control) and basically gives you a choice of three types of users:

1 - a superuser called '<b>Administrator</b>' by standard. You cannot change the name, but the Administrator's privileges are very similar to those of a former XP user with admin privileges. No UAC window will ask at any time for anything. You can activate the normally deactivated Administrator on Console level (cmd.exe) using the command
<b>net user Administrator /active</b>
btw, you can deactivate the Administrator's account by
</b>net user Administrator /active:no</b>

2 - a user with administration rights. This is a 'user' who can - after being asked by that nagging UAC-window - elevate her/his rights temporarily to admin rights. This is not an administrator for all the time but can e.g. install programs on a Vista PC.

3 - ordinary users with no way to elevate rights to being an administrator.
<b>Windows Vista compatible software should run for these users!</b> Remember: Users cannot elevate their rights to being an administrator. Microsoft recommends to being a 'user' when using a Vista computer for your everyday work. Users definitely cannot write into the '\Programs' folder, which means for WinDev programs that any data files have to sit in the \Users folder OR in the Hyperfile C/S folder \HF Server. Users of this type will never see that UAC-window (do you want to ..) - they simply aren't allowed to elevate their rights!

All of this means that the installation process and your software itself will work on two different levels. The install has to be done by a user with admin rights, the software has to be run by ordinary users. Consequence: Your software has to consist of two parts! One without any admin rights and a small one that requires admin rights. The latter has to be used to tell your program where your data is located and usually will write that information into an INI-file in the \Programs\YourCompanyName\YourProgramName folder. Your program can use this information to access the data files.

Kind regards,
Guenter




Edited 1 time(s). Last edit at 09/11/2008 07:20AM by Jimbo.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: