Re: Check-list to installing/running apps as non-admin?

Tech-Archive recommends: Fix windows errors by optimizing your registry




"Gilles Ganault" <nospam@xxxxxxxxxx> wrote in message
news:kjitm39qrqi61oem9lodud68o03b49ieg0@xxxxxxxxxx
On Sun, 23 Dec 2007 11:06:28 -0500, "Ron Weiner"
<rweineratworksritedotcom> wrote:
I am currently delivering a few VB6 applications using a simple "copy all
of
the files to a folder on your harddrive and double click the exe" type
install.

What about OCX's? And what about the install directory, and running
the app as non-admin? From what I read, Vista seems even trickier than
XP on this issue.

I've found on Vista that non-admins cannot install to Program Files, so I
must provide the option to install elsewhere, something like c:\MyApp. OCX's
must be registered, but that's not a problem as long as only the one user
runs the app. Non-admins can only write to HKCU in the registry. If they
write to HKLM it seems to write, but is actually written to a virtual part
of the directory that is only valid for them (it does not affect other
users).

In Vista if a user is logged in as the local administrator and runs a setup
(or the program), they must use the "Run as administrator" feature (unless
UAC is disabled). Otherwise they will not have administrator privileges.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--


.



Relevant Pages

  • Re: CSDK 2.90.UC3 on Solaris with IDS 10.00.FCx
    ... There are basic core shared libraries that are needed by both, with no versioning in the name, and the 32bit apps and the 64bit engine each need to see the correct libraries. ... You need to create a separate install directory for the 32bit CSDK from the one the 64bit engine is installed into. ... Then copy or link the sqlhosts file from the engine's etc subdit into the etc subdir under the CSDK install directory and use the CSDK install directory as INFORMIXDIR for running the 32bit application. ...
    (comp.databases.informix)
  • Re: Unable to install updates
    ... install directory. ... find branches.inf and uncheck the read only ... If you have a problem getting to Windows Update itself, ...
    (microsoft.public.windowsupdate)
  • Re: Curious questions regarding 64-bit apps on a W2K8 64-bit server
    ... accept your answer that "You can install anything anywhere (e.g., ... When I load 64-bit apps ... hand when I load a 32-bit application be default the install directory ... points to C:\Program Files (x86). ...
    (microsoft.public.windows.server.setup)
  • Re: [msh] Some msh setup questions
    ... > in the install directory. ... I still think the default MSH profile file should be ... called just "profile.msh" and make other shell instances prefix with their ...
    (microsoft.public.windows.server.scripting)
  • Re: win2000 install problem
    ... then copy the install directory from the CD to ... and was also able to boot from 2 different live Linux CDs ... functional Linux OS on the Toshiba laptop. ...
    (microsoft.public.win2000.general)