[RESOLVED] vb6 installer 1.1 problem
Hello everyone,
I have hit a small hicup, im trying to use vsinstaller 1.1 to package my program.
my problem is, is that i would like to give my enduser the option of where to install it to but i need to know where that will be in the end??
iv tryed reading the msdn pages but that just gets me more confused :(
is there a way of getting this installer 1.1 to place where the user chooses to install the program, in say the registry??.
or does anyone know of a better installer for vb6 and newbies???..
Thanks to all in advance :wave:
Re: vb6 installer 1.1 problem
Why do you need to know where it is installed?
If it is for code in the program itself (such as loading a file from the same directory) you can simply use App.Path to get the directory that the program is running from, eg:
VB Code:
Dim strDataFile as String
strDataFile = App.Path & "\textfile.txt"
MsgBox strDataFile
Re: vb6 installer 1.1 problem
si,
cheers for the reponse.
all i can say is DUH, that didnt occur to me.
again cheers, simple answer to a dum question.
[EDIT]
Sent after closing post.
From Randem:
Better Installer
--------------------------------------------------------------------------------
I think you would have more support with Inno Setup.
Look at http://www.jrsoftware.org for it
Also try the third party tools for it at http://www.jrsoftware.org/is3rdparty.php
Specifically ********** it was made to create your script automatically from your VBP file with all the dependencies. It can be found at http://www.**********.com/**********.html
Also read this http://www.***********/installerproblems.html
It should clear up some misconceptions with installers.
This addin for ********** is so cool worked at treat and made better scripts than the installer 1.1.
Thank you Randem..