|
|||
|
Hi, - is it possible to make the program unpack in
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Run folder så that it will automatically start on windows start?? Kind regards Godowsky |
|
|||
|
1. use the Shell.getSpecialFolder("startup") method to find the startup folder
2. use the Shortcut object to create a shortcut in the startup folder. To enable the installer to create a shortcut in the startup folder: 1. Check the "run AfterInstall script" option and "run BeforeUninst script" option in [Operation panel]->[Installer Definition]->[Installer Action]->[After installation]. The "AfterInstall" script will be called by the installer just after the application is installed if the "run AfterInstall script" is checked. Similarly, the "BeforeUninst" script is called by the installer just before the application will be removed if the "run BeforeUninst script" is checked. 2. Add the "AfterInstall" script to create a shortcut in the startup folder 3. Add the "BeforeUninst" script to remove the shortcut in the startup folder. A sample: |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|