Re: Vista installations (again)

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



I think this would be especially true if you are installing any devices or programs that access ports or something else that might be blocked by a firewall.

I typically tell people to run my MFC applications from an Administrator (or elevated) user at least once so the proper registry stuff can be set up and from that point on they can run as a limited or standard user. If you just start the program as part of the install you can take care of a lot of that stuff at that point.

I've never done an installation program specifically for Vista, but I've run lots of them and I think Vista will just prompt for an administrator ID and password when it feels the need to elevate. I'd think your program would have to handle whatever happens if the users fails to log in at that point.

I don't think the VS 2005 setup stuff can do this well, although it may just rely on Vista UAC to do the right thing. It would be easy enough to try with a simple setup that accesses the registry. You should get all kinds of noise from Vista and Firewall asking if you want to Allow this or that and then you have to press Continue then you have to say Allow again and eventually it works.

Tom

"GT" <ContactGT_remove_@xxxxxxxxxxx> wrote in message news:017b715e$0$13142$c3e8da3@xxxxxxxxxxxxxxxxxxxx
In a couple of weeks I'm going to start looking at our installation again. Following a previous round of help in this group, we now use MS Visual Studio 2005's "Setup and Deployment" -> "Setup Project". All is well on XP, but I need guidance/help to build a Vista compatible install.

Top of the list is ease of use and convenience for our users. Ideally, I would like anyone to be able to install our application on their PCs. The application itself works on Vista, but our licensing requires an elevated install - a term that I don't fully understand. The only access to Vista is on an employee's parent's PC!. Clearly, I would rather not 'mess up' that PC by installing and removing lots of times!

We have been advised (elsewhere) that in order to install on Vista, we should run our application (or the license files) once in an elevated setup to activate our license files. I know that Vista has tighter control over access privileges and even an administrator doesn't have administrator access to the PC, but I don't know what an elevated install actually entails and I don't know how to do any of this on Vista.

We have been advised to build... "a small helper executable that you launch during installation that already has elevated permissions (Vista's UAC prompt)". I can build a small executable that opens, then closes our license files, but my questions are:

1. What do I have to code to give my small exe an elevated permission in Vista's UAC prompt?
2. What is Vista's UAC prompt?
3. Is this possible using Visual Studio 2005's - "Setup Project"?

Thank you all in advance!
GT


.



Relevant Pages

  • Re: clubbing of windows vista and windows server2008 in a single boota
    ... I am not sure if you can go clubbing with Vista or Windows 2008 ... rather than being an 'installer', ... John Pritchard how it all works and got some surprising answers. ... Imaging (.WIM) file, which is basically our operating system folders ...
    (microsoft.public.windows.vista.general)
  • clubbing of windows vista and windows server2008 in a single boota
    ... i want to club the windows vista and windows server 2008 in a single bootable ... Vista DVD? ... can you build a custom Vista install DVD that doesn’t ... John Pritchard how it all works and got some surprising answers. ...
    (microsoft.public.windows.vista.general)
  • Re: Format again
    ... specs to see if it can handle Vista. ... and I want to reformat my hard disk and re-install Windows XP ... and update it with a Vista upgrade which my good lady brought ... Instead of performing a clean install of XP, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: corrupted profiles and much more
    ... I'm running Vista SP 1 x64 on HP/Compaq 8510w ... This is a clean install with only the OS, updates from Windows Update, most ... However all was not related to SP1rc and Norton. ... in Windows Local Security Policies and HP PRotectTools. ...
    (microsoft.public.security)
  • Re: upgrade c: from pata to sata with vista ultimate 64bit upgrade dis
    ... "How to Clean Install Windows Vista with Upgrade Media ... When I began inquiring into various Windows Vista installation options late last year, Microsoft and its representative grew quiet and seemed to begin selectively answering my questions. ...
    (microsoft.public.windows.vista.hardware_devices)