L
Lori
I created an install for my program. During installation,
3 User Interface dialogs display asking for values that
will be stored in the registry. I'm not registering
anything, just storing values for database connections and
where the program can locate necessary files.
I've found that if there's a blank space in any of these
input values (ie. a path name of c:\Program Files\Data\)
that an error displays and the installation aborts. The
error is "Exception occurred while initializing the
installation: System.IO.FileNotFoundException: File or
assembly name , or one of its dependencies, was not found."
The custom install doesn't check that this is a valid file
and the same error will appear if a blank space is
included in any of the input values (including connection
info). Also, I haven't been able to debug this since the
error occurs/appears before my install sub executes (I set
the debugger to start on the first line and it never did.)
Has anyone else encountered this problem? Is there a fix
or workaround?
Thanks.
3 User Interface dialogs display asking for values that
will be stored in the registry. I'm not registering
anything, just storing values for database connections and
where the program can locate necessary files.
I've found that if there's a blank space in any of these
input values (ie. a path name of c:\Program Files\Data\)
that an error displays and the installation aborts. The
error is "Exception occurred while initializing the
installation: System.IO.FileNotFoundException: File or
assembly name , or one of its dependencies, was not found."
The custom install doesn't check that this is a valid file
and the same error will appear if a blank space is
included in any of the input values (including connection
info). Also, I haven't been able to debug this since the
error occurs/appears before my install sub executes (I set
the debugger to start on the first line and it never did.)
Has anyone else encountered this problem? Is there a fix
or workaround?
Thanks.