autostart after install
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
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
Answers (4)
Please log in to answer
Posted by:
slb
16 years ago
Posted by:
daher
16 years ago
Posted by:
slb
16 years ago
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 [;)]...
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 [;)]...
Posted by:
anonymous_9363
16 years ago
ORIGINAL: daherTo 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.
once the user runs the exe after installation, i want that the exe autostarts when the system reboots
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.