Click here to Skip to main content
15,917,481 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an application that records a video from webcam and than stores that video in specified folder in .avi format. In my application it is working perfectly alright but when i created the setup and install it, it is not saving the video in the specified directory(by default the directory is in users folder, appdata/roaming/appname/). How can i get rid out of this???? Can any one help me out? Thanks in advance...
Posted

1 solution

I think you are saying that your program runs fine and does what you want when you are developing it but does not when you install it on a user machine.

There are a lot of possibilities here but here are a few thoughts:
- Your installer (and/or your program) needs to create the ...%user%/appdata/roaming/appname and make sure it has the correct permissions.
- File protection problem in another directory that you (incorrectly) think is the output directory. You would need to add debug/log/trace features to the installed version.
- Does your program require administrator access? The installer on the target machine may need admin rights. Running the program on the target machine may need admin rights.
 
Share this answer
 
Comments
Naikniket 17-Jun-13 8:03am    
I have solved the issue... Thanks...

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