Folder security rights mixed up after applying MSP - Advanced Installer Community
sagetuza
Posts: 8
Joined: Mon Dec 12, 2016 2:06 pm

Folder security rights mixed up after applying MSP

We have created a MSI which install a Website and it works perfectly. Because the IIS user require full access to one of the website folder we added all the users in Permission dialog. Also for this folder on the Operation dialog > Overwrite behavior we choose for Do not overwrite existing file with condition 1, but for some specific files we have set directly on the file proprieties Always overwrite.

Now we have to update it using a MSP. We have to change only some files so nothing complicated. Using the built inside tables comparative tool it shows no difference between the MSI's.

Unfortunately after applying the MSP the users permissions of the files from that folder which have been marked to not be overwritten have been mixed up. For example the file owner was changed from Administrator to System. The files are identical in both MSI's, so no action should be taken. For the files that have been marked to be rewritten the user permissions were OK. The MSI and MSP were installed for test right one after another, so same user, same windows machine. There were no environment differences between the moment of MSI installation and MSP update. It looks like a adv installer bug ... any idea?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Folder security rights mixed up after applying MSP

Hi,

I apologize for the delayed reply.

The "Do not overwrite existing file" folder option and the "Always overwrite" files option are not compatible and they are not both allowed in the newer versions of Advanced Installer.

Can you please send me the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so I can investigate them?

Indeed, there is an issue where the files permissions are lost when the "Do not overwrite existing file" option is used. We are working to fix this and it will be included in a future version of Advanced Installer.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sagetuza
Posts: 8
Joined: Mon Dec 12, 2016 2:06 pm

Re: Folder security rights mixed up after applying MSP

OK if is a bug we can not afford to wait until a new version will be released, so we will choose for an workaround by applying the desired user rights to all directories not only to one.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Folder security rights mixed up after applying MSP

Hi,

You can use that workaround if it is OK for you. We will notify you when the fix will be out. Sorry for the inconvenience.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Folder security rights mixed up after applying MSP

Hello,

This improvement was added in version 14.1 of Advanced Installer released on June 30th, 2017.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”