Setting permission for empty folder without empty component

Step 1:Create the empty folder in the required location using “New folder “ option.


For eg: I have used ‘BalsaTest’ folder in [ProgramFileFolder]


An Empty component will be getting created for this folder.

Note : Removing this empty component “AllOtherFiles” while giving permission via lockpermission table is the aim of this exercise.


Step 2: Set the required permission for the folder as below


Folder will appear with Lock icon after giving the permission


Lock Permission table will appear as below


Directory table entry as below


Createfolder table entry will be as below


We need to apply the tweak in createfolder.

Step 3:

Change the component to any other existing component in the package which is not empty.(Best practice is to give on the mainexe’s component)


Nothing to worry about the path of the mainexe component and the empty folder, Even the empty folder is getting created in different location .

The Parent folder mentioned in directory table will help the folder to get install on the required location.

Step 4: Delete the ‘AllOtherFiles’ componet from feature



Done!.Compile and install the MSI. Permission will be applied as below.



0 Responses to “Setting permission for empty folder without empty component”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 98 other followers

Blog Stats...

  • 111,883 hits

%d bloggers like this: