You are here

About startup directories

3 posts / 0 new
Last post
tony200910041
Offline
Last seen: 10 years 3 months ago
Joined: 2013-04-02 07:44
About startup directories

Hi everyone,
I am now dealing with an application that will put a shortcut in C:\Documents and Settings\Name\Start Menu\Programs\Startup.
How can I delete or move the shortcut in this directory? Thanks for help.

Ken Herbert
Ken Herbert's picture
Offline
Last seen: 2 hours 44 min ago
DeveloperModerator
Joined: 2010-05-25 18:19
If the program creates the

If the program creates the entry only on install, then there is nothing to worry about and you won't need to handle it.

If it creates the entry while running (or can be created, by the actions of a user for example) then you will need to use something like

[FilesMove]
filename=%USERPROFILE%\Start Menu\Programs\Startup

tony200910041
Offline
Last seen: 10 years 3 months ago
Joined: 2013-04-02 07:44
Hi,The problems I encounter

Hi,
The problems I encounter are that:

1) It is a *.lnk file (shortcut). I tried FileWrite, but when I type the filename as either Name.lnk or simply Name, it still doesn't move. Should I put it in a directories and move the directories directly to %USERPROFILE%\Start Menu\Programs?

2) It seems doesn't work on other Windows in different language. How can I cope with it? In fact it is not a big problem, but it is better to deal with it.

It is Moo0 Transparent Menu. Here is the INI file.

[Launch]
AppName=Moo0TransparentMenuPortable
ProgramExecutable=TransparentMenu\TransparentMenu.exe
ProgramExecutable64=TransparentMenu\TransparentMenu64.exe
SingleAppInstance=true
DirectoryMoveOK=yes

[Activate]
Registry=true

[FilesMove]
Moo0 Transparent Menu 1.18=%USERPROFILE%\Start Menu\Programs\Startup

[RegistryKeys]
HKCU=HKCU\Software\Moo0\Moo0 TransparentMenu

[RegistryCleanupIfEmpty]
1=HKCU\Software\Moo0

Thanks for helping.

Log in or register to post comments