Archive: Rearranging startmenu folders


Rearranging startmenu folders
Please bear with me, I'm pretty ignorant about installers. I made an installer that put entries into the Start Menu:
$SMPROGRAMS\DocPak+\Customize
$SMPROGRAMS\DocPak+\Readmes
$SMPROGRAMS\DocPak+\Uninstallers

I'd like to make a patch to make those directories and all files contained in them to transfer to:
$SMPROGRAMS\DocPak+\Counter Strike\Customize
$SMPROGRAMS\DocPak+\Counter Strike\Readmes
$SMPROGRAMS\DocPak+\Counter Strike\Uninstallers

I'm trying to do this b/c I wish to have other directories under DocPak+, such as:
$SMPROGRAMS\DocPak+\Source
$SMPROGRAMS\DocPak+\Condition Zero
but don't want to change the links they have in there already (there are addons that can be dl'd whose installers write links to the first 3 folders. Those addons will vary depending on the user)

The new directories will be correctly made in those particular installers but I didn't consider that when the first installer was made.

Can someone please help me with this? I've searched the archives but am not sure which components are needed nor exactly how to put it together. Thank you in advance.


Something like this:

CreateDirectory "$SMPROGRAMS\DocPak+\Counter Strike"
Rename "$SMPROGRAMS\DocPak+\Customize" "$SMPROGRAMS\DocPak+\Counter Strike\Customize"
Rename "$SMPROGRAMS\DocPak+\Readmes" "$SMPROGRAMS\DocPak+\Counter Strike\Readmes"
Rename "$SMPROGRAMS\DocPak+\Uninstallers" "$SMPROGRAMS\DocPak+\Counter Strike\Uninstallers"
-Stu