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

Folder Permission And Installation

Hi,

I have a msi installation package, which consists a file written to a destination.
Now the behaior is that the installation will fail if the desitination folder does not have the permission for the system account.

What I want is that even if there is no permission to write to the folder, the installation will proceed, only giving a warning to the log file.

Is it possible for it?

Thanks,
(1) Reply
The only way I can think of to give a warning yet still install is to write a custom action to check the permissions on the destination folder prior to costing and set a property. Also have the CA post a message to the log.

Then during costing use the property as a component condition to choose not to install the component.

But what I'd probably reccomend is to write a custom action to update the permissions on the folder so that you can write to it.