Populating the RemoveFile Table
I am fairly new to packaging so this could possibly be a stupid question. If you have a low tolerance for stupid questions look away while you still can!
I am using Admin Studio 6.0. I’m getting an ICE64 error when I run the “Full MSI validation Suite†under the “Build†> “Validate†menu. I can't seem to translate the data from the Directory table to the RemoveFile table accurately. Is there a white paper, trick or utility which will help me figure out what entries should be in the RemoveFile table?
ICE64 checks that new directories in the user profile are removed correctly in roaming scenarios.
I am using Admin Studio 6.0. I’m getting an ICE64 error when I run the “Full MSI validation Suite†under the “Build†> “Validate†menu. I can't seem to translate the data from the Directory table to the RemoveFile table accurately. Is there a white paper, trick or utility which will help me figure out what entries should be in the RemoveFile table?
ICE64 checks that new directories in the user profile are removed correctly in roaming scenarios.
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
brenthunter2005
19 years ago
You are getting this ICE64 error because you have folders in your MSI installation that will be created in the users profile.
Say for example, you have a shortcut that is going to be created in the users StartMenu->ProgramMenuFolder->ApplicationName->Shorcut
You will have a reference to the "ApplicationName" folder in your Directory table. This also needs to go into the RemoveFile table as follows:
FileKey = FileKey001 Set this to anything, its just a reference name
Component = Set this to any component name that will be removed on uninstallation
FileName = Leave this blank, as we're not removing a file
DirProperty = Set this to the Directory name from the Directory table. eg: 'ApplicationName'
InstallMode = 2 This means remove the 'ApplicationName' directory when the Component is uninstalled
Say for example, you have a shortcut that is going to be created in the users StartMenu->ProgramMenuFolder->ApplicationName->Shorcut
You will have a reference to the "ApplicationName" folder in your Directory table. This also needs to go into the RemoveFile table as follows:
FileKey = FileKey001 Set this to anything, its just a reference name
Component = Set this to any component name that will be removed on uninstallation
FileName = Leave this blank, as we're not removing a file
DirProperty = Set this to the Directory name from the Directory table. eg: 'ApplicationName'
InstallMode = 2 This means remove the 'ApplicationName' directory when the Component is uninstalled
Posted by:
babric
19 years ago
Posted by:
viv_bhatt1
19 years ago
I prefer Installmode = 3 value , for a simple reason it takes care of mode 1 and 2 at the same time .
ORIGINAL: brenthunter2005
You are getting this ICE64 error because you have folders in your MSI installation that will be created in the users profile.
Say for example, you have a shortcut that is going to be created in the users StartMenu->ProgramMenuFolder->ApplicationName->Shorcut
You will have a reference to the "ApplicationName" folder in your Directory table. This also needs to go into the RemoveFile table as follows:
FileKey = FileKey001 Set this to anything, its just a reference name
Component = Set this to any component name that will be removed on uninstallation
FileName = Leave this blank, as we're not removing a file
DirProperty = Set this to the Directory name from the Directory table. eg: 'ApplicationName'
InstallMode = 2 This means remove the 'ApplicationName' directory when the Component is uninstalled
Posted by:
AngelD
19 years ago
The directory will get removed correctly if you use a proper deployment solution, so adding the directory to the RemoveFile table is just for "cosmetic" to remove the validation error.
viv_bhatt1:
Why would you want to delete the folder when the associated component is being installed, which in this case is "msidbRemoveFileInstallModeOnInstall"?
viv_bhatt1:
Why would you want to delete the folder when the associated component is being installed, which in this case is "msidbRemoveFileInstallModeOnInstall"?
Posted by:
viv_bhatt1
19 years ago
I believe mode 1 removes the empty folder (as the file name is left blank) if already exists in user profile location during component installation.
And mode 2 takes care of the same during uninstallation .
If this is true then this will ensure that any stray folder is deleted left by any previous installation .
Although the new installation will recretae this folder on first launch and also this will be a very rare case and can be ignored .
Cheers ,
V
And mode 2 takes care of the same during uninstallation .
If this is true then this will ensure that any stray folder is deleted left by any previous installation .
Although the new installation will recretae this folder on first launch and also this will be a very rare case and can be ignored .
Cheers ,
V
Posted by:
AngelD
19 years ago
Posted by:
anonymous_9363
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.