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.
Ignore missing files without displaying a warning
Started by
universalkludge
, Feb 17 2005 02:05
7 replies to this topic
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
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
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.
Stefan Krüger
InstallSite.org twitter facebook
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?
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?
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)
Stefan Krüger
InstallSite.org twitter facebook
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
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.
Stefan Krüger
InstallSite.org twitter facebook
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
Posted 21 February 2005 - 11:28
You can submit this as a feature request for a future Windows Installer version to Microsoft.
Stefan Krüger
InstallSite.org twitter facebook