473,386 Members | 1,734 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,386 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 2010
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.