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

Installer question

P: n/a
Does anyone know if a .Net installer app can be programmed to pick up
any extra files that are not in the C# project and install them at
runtime? Let's say I have a few images that are a part of the C#
project. The installer project picks them up fine. Now say a user runs
the installer and there are a few extra image files in the directory. I
need to be able to pick these files up and install them in the same
place as the images that were already a part of the C# project. Any
clues??

Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You aren't going to be able to do this. You will have to specify that
the images are part of the install project if you want to make sure that
they are installed.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"No One" <no***@yahoo.com> wrote in message
news:40***************@yahoo.com...
Does anyone know if a .Net installer app can be programmed to pick up
any extra files that are not in the C# project and install them at
runtime? Let's say I have a few images that are a part of the C#
project. The installer project picks them up fine. Now say a user runs
the installer and there are a few extra image files in the directory. I
need to be able to pick these files up and install them in the same
place as the images that were already a part of the C# project. Any
clues??

Nov 16 '05 #2

P: n/a
Hi,

you could look at adding a Custom Action, which is a bit of code that the
installer runs once the project files have been copied into place.

http://msdn.microsoft.com/library/de...tomActions.asp

cheers,
Michael

"No One" <no***@yahoo.com> wrote in message
news:40***************@yahoo.com...
Does anyone know if a .Net installer app can be programmed to pick up
any extra files that are not in the C# project and install them at
runtime? Let's say I have a few images that are a part of the C#
project. The installer project picks them up fine. Now say a user runs
the installer and there are a few extra image files in the directory. I
need to be able to pick these files up and install them in the same
place as the images that were already a part of the C# project. Any
clues??

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.