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

Ignore missing files without displaying a warning


7 replies to this topic

universalkludge

universalkludge
  • Members
  • 4 posts

Posted 17 February 2005 - 02:05

Hi guys,

I need some files (language dlls) to be installed if they are present in
the installation package (as loose uncompressed files), so I set file
property 'Vital' = False, but during the installation "Source file not
found blah blah blah. Abort Retry Ignore" dialog pops up.

How to get rid of it (automatically ignore) and just continue the installation?

TIA

Andrew


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 17 February 2005 - 12:00

Copy the files using a custom action, or check their existance in the source loaction early in your setup and disable or deselect the respecive features/components if they aren't there.

universalkludge

universalkludge
  • Members
  • 4 posts

Posted 17 February 2005 - 16:16

Thank you Stefan.

That’s the only way? Does any simpler way exist?
I know it’s possible to do nearly everything using custom actions, but isn’t it an overkill?


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 17 February 2005 - 20:43

You're playing against the rules (telling Windows Installer to install files that aren't there). There's no easy way to do that. De-selecting the components would be the cleanest solution in my opinion (but could lead to problems in an admin install)

universalkludge

universalkludge
  • Members
  • 4 posts

Posted 17 February 2005 - 22:15

QUOTE
You're playing against the rules (telling Windows Installer to install files that aren't there).


That exactly way I set the property Vital=False

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 February 2005 - 14:23

But that's not the purpose of this setting. If a vital file is missing install will abort. If a non-vital file is missing, users have the option to ignore it and continue installation.

universalkludge

universalkludge
  • Members
  • 4 posts

Posted 18 February 2005 - 16:59

Well, probably you are right, but it’d be great to have an option to ignore silently, rather to mess with custom actions to make such a simple trick

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 21 February 2005 - 11:28

You can submit this as a feature request for a future Windows Installer version to Microsoft.