Question Setup ?

chardoc89

New member
Joined
Jun 9, 2008
Messages
1
Programming Experience
1-3
I'm glad to see there is a .NET forum as active as this one on the internet!
Maybe this community could give me a hand.

I am fairly new to distributing software. I thought this would be in the general discussion because there may be a better alternative. This is my problem:

I made a "Setup" exe and I have made one succesfully in VB.NET.
It basically, launches an .exe to setup another program, prompts user to install a printer, changes printer settings and the previously installed programs settings, and copies files/folders to the prievously installed program. Works perfect... until

I use Nero and make a CD with all my folders/files and the VB.NET exe. I recieve this exception -

************** Exception Text **************
System.ArgumentException: Access to the path is denied.
at System.IO.FileSystemInfo.set_Attributes(FileAttributes value)
CopyFiles(DirectoryInfo folder, String destinationFolder)......
and this list goes on about how terrible my program is.

This happens when I attempt to overwrite files and create directories in C:\Program Files\My Program

The key is I need a custom user interface. (radio buttons for different options etc) Is VB.NET the best way to attack this problem? Thanks for the help!
 
Last edited:
Back
Top