Click here to Skip to main content
15,885,918 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have made setup project using Microsoft Installer.

I have one .csv file which is a part of setup project. It is used as input to my tests project too. It has a fixed set of data but some time we need to add some data in that file (need to add some records into that file).

I required that file for all test cases. I don't want multiple copies of that file. I want to use that file as master piece. Not everybody can modify that file.


If It's part of setup project I can not modify it.

how I can make modified input file as a part of installation file so that if I install that setup on second computer it will install modified input file?

Thank you.
Posted
Comments
[no name] 19-Sep-14 12:10pm    
Modify the file and rebuild your setup. But you are telling contradictory things. You want to modify a .csv file but you say you cannot.

You should modify your setup or your solution*, in the way that in it is a routine which copies for actual csv file. Sounds simple, but its true. :-O

1. the actual file is in the same directory as your setup.
2. the actual file is on a web server

*if the file doesnt exist => 2.
 
Share this answer
 
VB
Yes, if the Disk1folder or support files/folders options are available in MS Setup project, then you can try using them. Or else you should try the InstallShield Limited Edition available for free with VS, and see if that can help you.

-Alpesh
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900