cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Uninstall problems

Hi all!

I just start working with adminstudio and MSI and have some trouble with my own made msi- package. In short the package creates two files in C:\ProgramFiles\Microsoft Office\Office10\Startup\. When I uninstall this program the two files are deleted which is correct BUT the Startup-folder also gets deleted. The Startup-folder is not created by the package, it’s there from the beginning, so deleting it is not the way I want the uninstall to behave.

Does any one have any idea what to do?

/T
(2) Replies
Check that nothing expected is the remove file table and do an uninstall with full logging to see whats going on...

msiexec /x {ProductCode} /l*v c:\uninstall.log

or /l*vx if you want all the info..
OK...here we have the part from the log where the action is:

MSI (s) (20:B4) [07:41:48:031]: Executing op: SetTargetFolder(Folder=C:\Program\Microsoft Office\Office10\Startup\)
MSI (s) (20:B4) [07:41:48:031]: Executing op: FileRemove(,FileName=Trodocs.dot,,ComponentId={091946C0-EB05-4D32-B859-F513AFE90C3C})
MSI (s) (20:B4) [07:41:48:125]: Verifying accessibility of file: Trodocs.dot
MSI (s) (20:B4) [07:41:48:125]: Executing op: FileRemove(,FileName=Komglob_trossen2003.dot,,ComponentId={091946C0-EB05-4D32-B859-F513AFE90C3C})
MSI (s) (20:B4) [07:41:48:125]: Verifying accessibility of file: Komglob_trossen2003.dot
MSI (s) (20:B4) [07:41:48:125]: Executing op: ActionStart(Name=RemoveFolders,Description=Removing folders,Template=Folder: [1])
MSI (s) (20:B4) [07:41:48:125]: Executing op: FolderRemove(Folder=C:\Program\Microsoft Office\Office10\Startup\,Foreign=0)
As we can see, according to the last line, the “Startup” folder is removed. Why? What could be wrong?

/T