Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Install File?

Status
Not open for further replies.

robertfah

Programmer
Mar 20, 2006
380
US
I've got an app that runs successfully over our network but I need the program to install a .ini file when it's first installed. Does anyone know how I can accomplish this? Is there some settings some where that I can do this?

Thanks,

RDF
 
The first thought would be to add a microsoft setup project to your solution and handle all your options. You can also build your solution, get the needed files and use another setup creation program (many are free), eg the ClickTeam. You will find by a google search many of them.

What do you mean by 'installing the ini file' ?
Copy it somewhere?
If yes, then you can create a console app, embed it as a resource, and use the .net framework/classes to find out the location to extract it.
 
Does the program have permissions to just write a INI file when it starts up, and detects that one is missing?

(hint: INI files are just specially formatted text files)

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top