PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Install.exe not working
Install.exe not working
Débuté par Angelo, 11 sep. 2008 02:04 - 2 réponses
Posté le 11 septembre 2008 - 02:04
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
Posté le 11 septembre 2008 - 02:06
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:
Posté le 11 septembre 2008 - 09:39
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 mainfest. 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 'Administrator' 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
net user Administrator /active
btw, you can deactivate the Administrator's account by
net user Administrator /active:no
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.
Windows Vista compatible software should run for these users! 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