cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hbgsoft
Level 3

Define permissions on INSTALLDIR and subfolders

Hello,

we are developping an Installscript MSI project. We don't use the Programfiles folder to install our application.

Here is the problem:
- we are currently trying to define permissions for the administrator group and everyone, using the panel properties which is available trough the right-click on folder and subfolders (Application Data section in the Designer).
- when the permissions are defined, Installshield creates new components named AllOtherFiles, with the warning icon
- when we test the build, the permissions are not created, and our setup stops with the common error (error 5, no valid access, ...)

What have we done wrong ? What means the presence of these components ? Is there another possibility than the standard Installshield methods ?

We have heared talking about icacls.exe (for Vista) and cacls.exe for the previous version of Windows.

Thank you in advance for any helps, we are blocked "in a corner"... and time is running !

Franck and Cedric, poor french tester and developper lost in the Installshield world
Labels (1)
0 Kudos
(2) Replies
DebbieL
Level 17

A component typically shows that warning icon (a red exclamation point) if it has not been associated with a feature. Each component in a project should be associated with one or more features.

To associate a component with a feature, use the Setup Design view or the Features view. Right-click the feature that you want to include the unassociated component, and then click Associate Components. The Associate Components dialog box opens, enabling you to select the unassociated component.

I hope that helps.

Debbie Landers
Macrovision Corporation
0 Kudos
hbgsoft
Level 3

Hi Debbie,

Yes, it helps a lot ! So easy when you know where to search...

Thank you for your help. We can now positively continue our project.

Bye,

Franck and Cedric, new Debbie's fans 😉
0 Kudos