hi all

i want to install an exe file and i want it to autostart after run.

how can i do it ?

is it poassible that after install the exe is copied into the autostart folder and how can i do it?

i tried with move file but i get error 2716 because my destination folder was Autostart and editor did not recognise it

thanks in advance for your help
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Do you want to start your .exe file after the installation with your MSI file or after a restart/logoff-login?
Answered 09/04/2008 by: slb
Purple Belt

Please log in to comment
0
what i want is the following :

the exe should be installed into the destination folder specified by user (and that's not the problem here)

once the user runs the exe after installation, i want that the exe autostarts when the system reboots
Answered 09/04/2008 by: daher
Orange Belt

Please log in to comment
0
To start the exe after restart would not be a problem and there are different methods to do it..
you could use
HKLM/HKCU run key or runonce keys depending on the requirement
you could add the shortcut in the startup folder

But if you want this to happen only after the first launch of the exe, then as far as i know this could be done only with a help of a custom script.
There are lots of experts in this forum, may be you could expect few more simpler solutions to be provided [;)]...
Answered 09/04/2008 by: slb
Purple Belt

Please log in to comment
0
ORIGINAL: daher
once the user runs the exe after installation, i want that the exe autostarts when the system reboots
To do that, you'd need to alter the EXE itself: how is the package going to know when the EXE got run? As stated before, if you want the EXE to run after a reboot, you need to place a suitable command line into either the 'Run' or 'RunOnce' registry keys. My preference is to use the HKCU hive for such things, unless it has to be run for all users, in which case use HKLM.
Answered 09/05/2008 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity