Click here to Skip to main content
14,387,969 members
Rate this:
Please Sign up or sign in to vote.
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.
[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.
Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
Rate this:
Please Sign up or sign in to vote.

Solution 2

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.


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100