I would like to compile and deploy an application in a perhaps less usual way, namely that the program can be run “straight away”, that is without having to install it first – so that for instance, the user can run it from a CD-rom.
I have already found out that when I compile my application, the resulting EXE will look for all kinds of necessary .dll’s, .ocx’s and what not, and that it expects them to “reside” in the directories where they where when the EXE was created.
When one creates a setup.exe package using the package and deployment wizard or independent programs such as InstallShield or Wise, those .dll’s, .ocx’s will apparently be included and when the user installs the program, they are being placed in the corresponding “default directories”.
In order to run completely independent, those files would have to be located in a directory where I want them to be and the compiler should be told to produce an EXE that looks for them there.
1) Is it possible to achieve this and how do I go about it ?
2) Does Visual Basic or Visual Studio include a compiler that can achieve this , or can InstallShield and WISE ?