> I am sorry the image file did not get their.
>
> Anyway I am using asinvoker. Which I thought was your rerecommendation
> years ago.
>
> However I have changed and compile with highest available and require
> administrator. Both
> of these worked. I am not sure which of these to use or why to use one.
> What might be a downside.

Hi Gary,

Assuming what we would call a "normal" app (AKA one that does NOT need to
write to protected areas such as the Windows folder, "Program Files" or
the HKLM node of the Registry, your program should be manifested "As
Involker".

However since your installer needs to be able to install there and make
changes to the machine, normally you manifest the installer itself to
"Require Administrator".

This will result in Windows asking the user if they want to allow the
installer to make changes to the machine, but once they say yes you get a
smooth, clean install that will work for any user on the machine.

Do note that if you want to provide a link for the user to run your program
at the end of the install, you should make use of SetupBuilder's ability to
run the application non-elevated.

This will ensure that any "First run" type settings saved by your program
(or other such actions) are stored in the proper context.

If you simply run the program without this feature, then the settings would
be saved as "Gary the Administrator" (since the program is ran by the
elevated installer.

That could cause problems the next time your program runs because in a
modern OS, when your program starts Windows will run it as "Gary the User"
unless it is manifested to Require Administrator.

I know this can sound a bit confusing, so just trust me when I say to do it
this way<g>.

If you ever do write a special program that needs to write to protected
areas (or do other such tasks), then both the installer AND the program
would be manifested to Require Administrator, but not otherwise.

I hope this helps!

Charles



--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)

www.learnh5fast.com - Master building web and mobile apps with Clarion H5!
www.clarionproseries.com - ProDocument, ImageEx, ProScan, ProImage, ProPath
and other Clarion developer tools!
www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
xDataBackup Manager and more!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.fotokiss.com - "World's Best Auction Photo Editor"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
-------------------------------------------------------------------------------------------------------