I created a Console Application in VS 2005 using VB .Net. As I was
testing it, I had included a single command line argument under Debug,
Start Options. I then removed the command line argument, then Built,
and finally "Published" the application for installation from a file
share. Publishing it created some files and a couple of sub-
directories. When I attempted to "install" the app by clicking on the
file "Setup.exe" - I received and error about the "Index was outside
the bounds of the array". I understand this error, if I was actually
executing the installed application - because no command line argument
would have been passed to it. By what I am getting this error - when I
only click on Setup.exe, in an attempt to INSTALL the application. I
am totally baffled by this.
testing it, I had included a single command line argument under Debug,
Start Options. I then removed the command line argument, then Built,
and finally "Published" the application for installation from a file
share. Publishing it created some files and a couple of sub-
directories. When I attempted to "install" the app by clicking on the
file "Setup.exe" - I received and error about the "Index was outside
the bounds of the array". I understand this error, if I was actually
executing the installed application - because no command line argument
would have been passed to it. By what I am getting this error - when I
only click on Setup.exe, in an attempt to INSTALL the application. I
am totally baffled by this.