Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Help: Installing my program.

I want to install my work so that I can have a fully develop software.
How can I do that? :confused:
[104 byte] By [craver06] at [2007-11-11 10:22:31]
# 1 Re: Help: Installing my program.
http://www.developerfusion.co.uk/show/27/
http://www.developerfusion.co.uk/show/64/
Phil Weber at 2007-11-11 17:22:47 >
# 2 Re: Help: Installing my program.
Hi Phil,

I have tried the package and Deployment Wizard for my software.
A package folder with a Support folder, .cab and a setup are created.
I copied the whole package folder to another PC and run the setup.exe. However, when i executed my exe file, it still prompt me an error "Unknown error in finding XXX.dll"

in my code, i have this dll registered
ShellReturn = Shell("regsvr32 /s ""C:\HOB\XXX.dll""", vbHide)

can you advise what had i done wrong?
Trazz at 2007-11-11 17:23:44 >
# 3 Re: Help: Installing my program.
Did you include XXX.dll in your setup? Are you installing it to C:\HOB\ on the target system?
Phil Weber at 2007-11-11 17:24:42 >
# 4 Re: Help: Installing my program.
I included. It is located in the same folder with the project.
I want it to be install to C:\HOB.
Trazz at 2007-11-11 17:25:48 >
# 5 Re: Help: Installing my program.
I don't know of a simple way to use the Package & Deployment Wizard to install a file at an arbitrary location; you would have to modify the Wizard's source code. Instead, I recommend that you use Visual Studio Installer (http://www.dev-archive.com/vb2themax/Article/19893) or a third-party setup tool which allows you to specify the target locations of individual files.
Phil Weber at 2007-11-11 17:26:46 >