Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-24-2005, 02:15 PM
Member
 
Join Date: Jan 2005
Posts: 50
Default put exe in windows auto start folder

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
Reply With Quote
  #2 (permalink)  
Old 01-25-2005, 08:25 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:put exe in windows auto start folder

I just need to know if it's possible, - if somebody can make a script that does this it would be great.


Kind regards

Godowsky ;D
Reply With Quote
  #3 (permalink)  
Old 01-25-2005, 10:33 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:put exe in windows auto start folder

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:

Reply With Quote
  #4 (permalink)  
Old 01-25-2005, 11:46 AM
Member
 
Join Date: Jan 2005
Posts: 50
Default Re:put exe in windows auto start folder

perfect!! THANKS A LOT FOR ALL YOUR HELP.


regards

Godowsky
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:38 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.