473,395 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Installer question

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
2 2012
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: krisk | last post by:
Could not find ansewr: in ProjectInstaller, RunInstallerAttribute: ..... this.serviceInstaller1.ServiceName = MyServiceName; in the code: public class MyService :...
7
by: sidd | last post by:
Hi All, i have some doubts on .net windows services.. please see if some one could help me understand this.. 1)is it possible to install a windows service which does not have a installer added...
1
by: HyperX | last post by:
Hey guys, How can I see the code of the installer class? I know that I have to right click on my object class, -> Add Item -> Code -> installer class... The actual question is, I cannot see...
2
by: MENTAT | last post by:
Hi, I am trying to create an installer for my web application. So I added a web setup project to my solution (I am using VS.NET 2003). Been playing around with it since then and it basically...
3
by: Brian Henry | last post by:
This has worked perfectly for the past year now all the sudden it will not compile the installer project correctly. All our source code is in a Source Safe database so every system we do this on...
1
by: Henry Stock | last post by:
I am not really sure what news group this should be posted to. It has to do with a visual studio install project for a c# application. We have noticed that if any of the files installed by the...
1
by: Eric Fleet | last post by:
This may qualify as a stupid question -- or as Chris Berman said, "There are no stupid questions. Only stupid people who ask questions. I finally have my windows installer where I want it. It...
4
by: Shiraz | last post by:
Hi I'm using Visual Studio Installer to make my installer, and have not as yet figured out a straightforward way to use it to set environmental variables. Amongst the various things I tried, I'm...
0
by: stevebarker | last post by:
Hi guys, I've got a quick question about installers in .NET. Any advice would be gratefully received! I'm writing a .NET Windows application that needs an installer. I'd really like the set...
3
by: mistral | last post by:
Not sure is this correct place for my question (i am not a programmer): I have some sofware packed into installer, file version: 2.11.15.0, in file properties shown "SFX CAB archive", name...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.