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.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Did you already look at the MSDN ?

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/removefile_table.asp

Hope that help.
If not, could you show us how you populated your file table, and removefile table ?
Answered 08/10/2005 by: babric
Senior Purple Belt

Please log in to comment
2
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
Answered 08/10/2005 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
0
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
Answered 08/10/2005 by: viv_bhatt1
Senior Purple Belt

Please log in to comment
0
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"?
Answered 08/10/2005 by: AngelD
Red Belt

Please log in to comment
0
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
Answered 08/10/2005 by: viv_bhatt1
Senior Purple Belt

Please log in to comment
0
Thanks for that viv_bhatt1, had forgotten that there exist "dirty" removals :)
Answered 08/10/2005 by: AngelD
Red Belt

Please log in to comment
0
and if i just want to delete files using an MSI?
Answered 08/05/2009 by: dubzaddict
Yellow Belt

Please log in to comment
0
Like it says, use the RemoveFiles table. Set the InstallMode value appropriately.
Answered 08/05/2009 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity