Announcement

Collapse
No announcement yet.

Removing Shortcut Folder Prior To Install

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Removing Shortcut Folder Prior To Install

    Our products have been renamed and I need to remove the old shortcut folder when I install the new software. I tried System Editors/Shortcut Icons/Remove Folder/%StartMenuPrograms%\{foldername} but it doesn't remove the folder.

    TIA for your assistance.

  • #2
    Re: Removing Shortcut Folder Prior To Install

    As a follow-up......

    This method works on everything but win2k. I can't find a variable like %StartMenuProgramsNT% for win2k.

    Anyone have a solution?

    Comment


    • #3
      Re: Removing Shortcut Folder Prior To Install

      Hi,

      The variable %StartMenuProgramsNT% will work properly on Windows 2000. Basically you can think of Windows 2000 as Windows NT 5.0.

      Have you tried doing this on Windows 2000? What happens? Perhaps you could outline exactly what your command looks like.

      mark.
      MSI Factory The Next Generation Intelligent Setup Builder

      Comment


      • #4
        Re: Removing Shortcut Folder Prior To Install

        Mark,

        I have this set up in System Editors /
        Shortcut Icons / Actions = Remove Folder
        Folder = %StartMenuProgramsNT%\%SCFolderTitle%

        Comment


        • #5
          Re: Removing Shortcut Folder Prior To Install

          I also tried using the %SCFolderPath% variable with no success in either NT or win2k

          Comment


          • #6
            Re: Removing Shortcut Folder Prior To Install

            Here are the contents of irunin.ini

            VarName34=%SCFOLDERPATH%
            VarValue34=C:\WINNT\Profiles\All Users\Start Menu\Programs\Compass2000

            Comment


            • #7
              Re: Removing Shortcut Folder Prior To Install

              I didn't RTFM carefully enough!!

              Can't delete a folder unless it's empty. Guess I'll have to find another way.

              Comment

              Working...
              X