Hi
I've developed an application in VB.NET and i am now
trying to deploy this on a different machine.
Following one books instructions i have done the
following:
Included a setup & deployment project into my solution.
I checked for set up a Windows application and then to
include:
Primary output, localized resources and content files.
Under User's programs menu i included a folder containing
the exe file.
When trying to build solution (properties set to release)
i get a warning:
WARNING: File 'ProduktBildeRapportering.exe' should not
be installed into a User's Profile folder because it may
not be available to all users.
and error:
ERROR: 'oledb32.dll' should be excluded because its
source file 'C:\Program Files\Common Files\System\Ole
DB\oledb32.dll' is under Windows System File Protection.
The build does give a .msi file but it is only 1.5 mb and
trying to install the app on a machine without (even
with) vb runtime result in an application that does not
want to start....just throws a lot of errors.
Looking at the output of the build it hardly packs any
dll files at all....only a few related to crystal reports.
Does anyone know what why it does not work or how i
should create a deployment program?
Thanks!