Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Only few chm files get deleted while patching not all desired.


1 reply to this topic

Amarjeet

Amarjeet
  • Full Members
  • 77 posts

Posted 06 September 2013 - 16:30

I have shipped some .chm help files in main installation. I am patching the main installation and would like to few help files to be removed during patching.

I have populated RemoveFile table with component names , keys , File names etc.

When I apply patch I find that out of 10 only 6 file get removed during patching and 4 remain on the disk.

In installation log I find that for those files which remain on disk I get message :

To be installed; Won't patch; No existing file
MSI (s) (7C:20) [20:25:43:565]: Source for file 'catalogs.chm' is compressed
InstallFiles: File: Catalogs.chm, Directory: C:\Program Files\MyApp\Help\



Can't figure out why only few of the files get removed and not all.

Thanks is advance for solution

Amarjeet



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 September 2013 - 16:07

My guess is that the existing file does get deleted, and then installed again. Check your conditions for the file to make sure it doesn't get installed again.

BTW instead of using the RemoveFile table, make sure the component's condition becomes 0 (and re-evaluate condition is set to yes). this should remove the component during the update.