Old 16th August 2003, 19:15   #1
NullCube
Junior Member
 
Join Date: Aug 2003
Location: Ann Arbor, MI
Posts: 6
Question after setting MUI_STARTMENUPAGE_DEFAULT

Hi again,

I set MUI_STARTMENUPAGE_DEFAULTFOLDER to Modules\Module_Name_1. Installation is working perfectly. I have a new question, however, for the uninstall section.

On the start menu, there are documentation files and web site entries created at the Modules\ level because they are relevant to all installed modules.

During uninstallation, if there are no directory entries left like Modules\Module_Name_1, Modules\Module_Name_2, etc I want to delete Modules\web_link_1, Modules\doc_link_1, etc and the Modules\ directory.

How can I check if there is any directory left in Modules\ level?

NullCube
NullCube is offline   Reply With Quote
Old 16th August 2003, 19:49   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
IfFileExists "Modules\Module_Name_*" 0 no_delete
RMDir /r "Modules"
no_delete:

-Stu
Afrow UK is offline   Reply With Quote
Old 16th August 2003, 20:06   #3
NullCube
Junior Member
 
Join Date: Aug 2003
Location: Ann Arbor, MI
Posts: 6
Awesome, thanks.
NullCube is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump