Installer Woes

So, this past week I've been wrestling with the deployment project for the nGallery 1.6 release. Previously, I didn't have any problems because I didn't have to include any files that needed special permissions (such as write permissions). I only had directories that needed write, which was easy enough.

Now, with 1.6, I'm needing to set write permissions on two files that will be included in the install. And, I've yet to find anything on how to do this easily, other then creating my own custom action and registering it with the installer, etc... which is much more effort then I was wanting to put into this installer.

Of course, digging around a bit, I can't find much on this same issue.

I'd love to hear any thoughts, helps, tips, tricks, etc.. from you guys. Thanks!

Filed under:

Comments

# Jerry Dennany said:

Nope, you're on the right track. Or you could purchase InstallShield 9, which has this functionality built-in.

Monday, March 22, 2004 5:47 PM
# Omar Shahine said:

Not sure if some one told you this, but I have a little .cs file that the installer will run when installing and uninstalling. You can run any C# code you want.

Is this what you are looking for?

Tuesday, March 23, 2004 3:48 PM
# Brian Desmond said:

The LockPermissions table in MSI is the trick. Look it up on MSDN in the P SDK under Windows Installer. You probably have to make the edit after you compile the MSI. I always use Installshield.

I can do a Installshield for you in DevStudio if you want - desmondb@payton.cps.k12.il.us.

--Brian

Saturday, March 27, 2004 12:31 AM

Leave a Comment

(required) 
(required) 
(optional)
(required)