|
#1
|
|||
|
|||
|
I cannot remove some files
When I try to remove some files, I get an error message: Failed to remove item: "c:\foldername\filename.txt".
Does anyone know the reason why the file cannot be removed? Plus, I tried to remove the component but nothing happens i.e., after I click on remove button the component stays in place...it is not removed. The file I am trying to remove has a shortcut but I still cannot remove the file even after removing the shortcut. Thanks. |
|
#2
|
||||
|
||||
|
Are you trying to remove a file from the project (inside Setup Factory), or are you trying to make an installer that removes a file during an installation?
Can you describe the steps you're taking in greater detail?
__________________
--[[ Indigo Rose Software Developer ]] |
|
#3
|
|||
|
|||
|
I am trying to remove the file from the project (inside setup Factory).
I created a setup factory project with some files in it. I went to the properties of two files (one at a time) and then checked the checkbox to create program menu shortcut. I saved my project and generated the setup.exe file. Then I started removing the files from the project. All the files were removed successfully except the ones that I checked the checkbox for shortcut. I dont know if it was a coincidence that only the files with shortcuts checked were not removed or it is a bug. Neither the toolbar remove button nor right-click remove option worked. I got an error: Failed to remove item: "c:\foldername\filename.txt" No matter what I do I cannot remove the file from the project. Thanks. |
|
#4
|
||||
|
||||
|
Hmmm, that definitely shouldn't happen.
Are you able to reproduce this in a new project? What version of SFWI are you using?
__________________
--[[ Indigo Rose Software Developer ]] |
|
#5
|
|||
|
|||
|
I am using version 1.1.1004.0. This has happened twice in two separate projects. I will try to keep an eye on this and let you know if this happens again.
Thanks. |
|
#6
|
||||
|
||||
|
For what it's worth, I am unable to replicate this either using 1004 on a brand new project.
However, I was able to replicate on an old (I think probably beta built project) using 1004 where the original file was missing (shown in red) and the destination set to ProgramFilesFolder (INSTALLDIR). I don't know whether it is the fact the file no longer exists or the destination causing the problem. Obviously beta built project I would not expect to ncessarily work through into production. I've attached the project as it was only ever used in beta testing, never completed and has nothing confidential in it if it helps. Rgds John |
|
#7
|
||||
|
||||
|
Has there been any resolution to this as it is now affecting a brand new project I have built in 1004?
The steps I took were (if it helps): a) Added files and folders from PF\Draeger folder on source media. This then became PF\MY PRODUCT\Draeger in SUFWI. b) Renamed MY PRODUCT against INSTALLDIR to Draeger. c) Moved folders underneath INSTALLDIR\Draeger up one level so they are now sub-folders of INSTALLDIR. d) Tried to delete a EXE file. Got the 'Failed To Remove Item:' message. However deleting a INI file (for example) worked fine as did all other non-EXE files I tried. Note I have not yet built a MSI from this project. Rgds John |
|
#8
|
|||
|
|||
|
I just ran into the same issue. The file is a .EXE, that may be the key(.EXE) I am trying to finish up on our first MSI and now hit a brick wall, help.
|
|
#9
|
||||
|
||||
|
tdexter,
Can you email me the offending project file so that I can take a look at it? Email brett at indigorose dot com |
|
#10
|
||||
|
||||
|
Sorry for the late response, I'm away on holidays right now.
Adam and I got our hands on a project that had this bug last week, and I managed to track down the bug that was preventing the files from being deleted. I was able to fix the bug, so in the current internal build we should be able to delete those files now. (Brett: if you load one of these projects into a current build of SFWI, you should be able to delete the files.) The fix will be released in the next version (1.1.1005?). In the meantime, there is a workaround that you can perform to make those files deletable if you're familiar with XML.
Sorry if that isn't very clear; I'm going from memory.
__________________
--[[ Indigo Rose Software Developer ]] Last edited by Lorne; 08-02-2007 at 12:51 AM. |
|
#11
|
|||
|
|||
|
That worked out great.
Thank you |
|
#12
|
||||
|
||||
|
Ditto Thanks Lorne.
Quote:
Have a good one. Rgds John |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Example Uninstall -Remove other files using ListBox Screen | Eagle | Setup Factory 7.0 Discussion | 3 | 12-01-2005 01:48 AM |
| Unable to find software? | NigelLacey | Visual Patch 2.0 | 4 | 10-11-2005 11:35 AM |
| method to index/compare user's files for update? | intel352 | Setup Factory 6.0 | 0 | 01-15-2003 04:08 PM |
| INFO: Why Files are Renamed in the DATA Folder | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-24-2002 04:36 PM |
| HOWTO: Remove Files that were Installed by a Patch or Alternate Source | Support | Setup Factory 6.0 Knowledge Base | 0 | 09-24-2002 10:49 AM |
All times are GMT -6. The time now is 04:51 AM.








Linear Mode

