Trevor,

Actually your last point may be done with any installer :-)
Using a Rev exe instead in the way you say could sound good but the problem, in such a case, is weight: I'll end with, at least a 2 MB exe :-(

Le 1 sept. 08 à 15:03, Trevor DeVore a écrit :

On Sep 1, 2008, at 8:52 AM, Eric Chatonet wrote:

Thanks for having given me hints.
Actually, my problem is a bit more complicated:
I have a Rev exe that is running.
It would download an installer stack from the internet.
Without closing the running exe, I would want to run it as admin on-the-fly :-) Then install files in program files (i.e. replace some separate stacks) and finally restore usual rights...
Last step could be skipped ;-)

Why do I want to do this is just would allow me to build my own installer instead of downloading a 'regular' installer that would do the job without problem.

Eric,

I'm not aware of how you could go about elevating the privileges of a running exe.

The way I do this is the vbs technique. While my application is running I download the update. I then launch the vbs file I mentioned in my previous and quit the application. The VBS file in turn launches another VBS file using elevated privileges. This second VBS file waits for the main app to quit (watching the process ids), installs the updater files and then relaunches the main application.

The other option I see would be to write a small exe that has the embedded manifest and handles installation of files. Your main exe could launch this during the process.

Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.com


Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/
----------------------------------------------------------------


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to