By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,119 Members | 2,086 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,119 IT Pros & Developers. It's quick & easy.

Deleting included files after installation

P: n/a
I've got the following problem:

I created a windows installer project that installs my application.
The application works with some files. I want to include some
example files with the installation package.

These files by no means are critical for the application itself.
They are included only to help application user to get aquaintanced
with the app.

The problem occurs when the example files are deleted after
installation: When user clicks on the shortcut to the application
(on his desktop) the application installer is started instead
of the application itself. The installation process restores
the "missing" files, and the applcation is allowed to start normally
afterwards. But this is greatly annoying (!), that every application
launch involves reinstallation (that lasts 2-3 min).

How to designate some files, that the installer should not care for them
_afterwards_ installation process ??
I found "vital" property of file, but this (as documentation
confirms) specifies whether a file is vital or not, during installation
(i.e. the installation fails if the file cannot be properly
installed). I set this to false but in vain. Still deleting example
files causes the problem.

I want a file to be deletable [i.e. not causing reinstallation]
Is it possible ? (I do not believe that it is not)
Thank You
Michał Januszczyk
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.