How to write an installation script for msi.
How to write installation script for msi. and how to use custom action for assigning the permissions to the files, folder and registries?
3 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question
As for a tutorial on Custom Actions, no-one really has time to list that out for you. Besides, for the present, you can use the LockPermissions/MSILocckPermissionsEx tables to set permissions. Just remember that using that table *replaces all permissions* on the target so you need to be sure to add all the standard accounts and their permissions (e.g. Local System) to the table.
It's clear that you're new to Windows Installer (WI) so do yourself a favour and download Phil Wilson's e-book, The Definitive Guide to Windows Installer and the similarly-titled The Definitive Guide to Windows Installer Technology (I can't recall the author's name). You will struggle without knowing the fundamentals of WI. - anonymous_9363 9 years ago
Agree completely with VBScab about Phil Wilsons E-Book.
Custom Actions
http://msdn.microsoft.com/en-us/library/aa367431%28v=vs.85%29.aspx
Are you using Powershell? What scripting experience have you? Do you need pointers or do you want someone to post a script for you? - oreillyr 9 years ago