***Remove [foldername] if empty*** is showing in my ISM and need clarification

I am using InstallShield 2015

I am working in an ISM file and getting ready to release wizard to build the MSI install.

I am working in the ISM file to build (release wizard) an MSI install. I found this during my last check and am not sure how to interpret the message. In Files/folders, I turned on "show components". Reviewing all contents in Files/folders, I found a message stating **Remove [newfolder2] if empty***.

Newfolder2 is the folder I created in All Programs in which the  shortcut for launching the app resides. What exactly is the remove message referring to? Should I simply delete the message or do I leave it in? Obviously, I'm not deleting any folder (newfolder2) I created. Should these "remove" message(s) always be deleted, regardless of anything else? It doesn't affect how the app performs. This is strictly for proper cleaning up before delivering the package. Please advise on best practice on what to do with these "remove" messages.

Thank you all again in advance.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: rad33k 4 years ago
Fourth Degree Brown Belt
As I remember these entries are added automatically by InstallShield to fix ICE64:
The directory 'MyOtherFolder' is in the user profile but is not listed in the RemoveFile table.

In my opinion this validation check is a little buggy as it interprets 'All Users Programs Menu' as per user folder.
It is up to you if you want to ignore or get rid of this ICE validation warning (of course if folder is removed properly by the MSI).

Posted by: Badger 4 years ago
Red Belt

there are two settings this might be to do with, one is in the ISM, where if the folder is empty (not needed) it wont build it into the MSI.

or, for the remove file table (which is also used to remove folder)
you can tell it to remove the Dir (if emtpy) or you can force the removal of a dir

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ