MSI BASIC QUESTIONS

  • Thread starter Thread starter ANIRBAN UNILEVER
  • Start date Start date
A

ANIRBAN UNILEVER

Two Questions:

1. You would like to apply permissions to an INI File which is being
written through the INI File table. How would you achieve this?

2. You have packaged an application which should ONLY be installed by
Administrators. How would you modify the MSI to ensure that the
installation will abort for non-administrators?

Thanks,
Anirban
 
1. Probably a custom action. If you are installing the file, the
LockPermissions table can apply some permissions.

2. A launch condition of AdminUser, but you should use Privileged if you're
going to be using a managed installation where a non-admin can install a
managed MSI setup.
 
Hello,

If you are looking at giving permission to an ini file the
easiest way would be to include that in the file table
with no entry in it. Give the required permissions and
then write to that file through the ini table. Since
writeFiles come before the WriteIniValues this shoud work.

I shall get back to you with the answer for the second
question.

Regards
Anil
 
Back
Top