Unable to delete file to be installed in package

Having trouble running Advanced Installer? Got a bug to report? Post it all here.

Unable to delete file to be installed in package

Postby somethingelse » Wed Jun 13, 2012 11:34 pm

Hello,

I have an existing installer project that I am using for another task. I have copied over the project file and have been modifying it. One of the changes I need to make the removal of several files to be installed in the msi package. So I went to the "Files and folders" area under the resources gui container. I then selected the files that I wished to remove in the selected "delete" from the right-click context menu. However, when I went to verify that the file was in fact deleted from my project by clicking "Refresh" in the "files and folders" top ribbon, the file reappeared in my project. The file also reappears when I try to build install packages from the project. Is there another method I should be using to delete a file from a project?

Thank you for your help
somethingelse
 
Posts: 7
Joined: Fri May 04, 2012 9:59 pm

Re: Unable to delete file to be installed in package

Postby Daniel » Thu Jun 14, 2012 8:32 am

Hello,

If you want to remove a resource file from your project, then go to "Files and Folders" view, select the related file and use [Delete] toolbar button, the “Delete” tree context menu item or press the Delete key.

Also, please make sure that the containing folder of the related file you want to remove isn't synchronized with a folder from disk. Select the containing folder and from the context menu choose "Properties..." option. In the "Folder Properties" dialog make sure that "Synchronized content with folder from disk" option from "Synchronize" tab isn't enabled.

Let us know if this helps, otherwise please give us more details about your scenario.

All the best,
Daniel
Daniel Radu
Advanced Installer Team
http://www.advancedinstaller.com/
Daniel
 
Posts: 2001
Joined: Mon Apr 02, 2012 1:11 pm

Re: Unable to delete file to be installed in package

Postby somethingelse » Fri Jun 15, 2012 12:12 am

Great, that fixed the problem. It seems that the property "synchronized with a folder form disk" was selected when the folder was added through the installer wizard.
somethingelse
 
Posts: 7
Joined: Fri May 04, 2012 9:59 pm


Return to Common Problems

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests