-
So,
I've finally completed all coding on my programme, and I'm ready to package and deploy.
Fine, you say, use package and deployment wizard, which is what I did and it all worked.
However, I want the system to install a folder(main), and within this create two sub folders, one to store the actual program (i.e. the executable)
And the other to be called results, and you guessed it, is were results from the program will be stored.
Can this be done within microsofts own wizard, or would I have to look at something like install shield
Cheers,
Bazza.
-
You can install to the equired directories but it is a bit of a work around.
If you don't have any files that are going to be installed into the results directory then you need a file. Just an empty text file will do. "Mine.txt"
When the Package And Deployment Wizard (PDW) gets to the included files bit click add. Now select "Mine.txt" to add this file to the list.
when the PDW gets to the stage of asking you where to insatll files, change the executable file path to :
$(AppPath)\main\exe
If you have files that need to be installed in the results directory then change their path to the following. Else change "Mine.txt"'s path to
$(AppPath)\main\results
Now when the program is installed it will be installed to
Code:
usersChoice\main\exe
usersChoice\main\results
where usersChoice is where they chose to insatll the program. eg.
c:\program files\MyProg