|
-
Jul 27th, 2000, 01:43 PM
#1
Thread Starter
New Member
Can anyone tell me if it is possible, and if so how to call a VB 6.0 dll function from Installshield Script? I keep getting a -1 on the return which is obviously a installshield error. I've tried various ways to get it work to no avail.
Any help is greatly appreciated!!!
Thanks,
-
Jul 28th, 2000, 05:25 AM
#2
Well ....
Do you mean you want to run a function from your dll file during the installation process? Or maybe after the installation is over, you want to execute that code first?
-
Jul 28th, 2000, 06:47 AM
#3
Frenzied Member
You can't!
DLLs to be invoked during an InstalShield INstallation have to be written in C
Can you use a vb exe instead?
you can include it on the CD (with all the required VB runfiles) or put the exe and runfiles in the InstalShield "Temp Files" section which will be decompressed and copied to the hardrive before instalation proper commences
and deleted afterwards.
-
Jul 28th, 2000, 09:01 AM
#4
Thread Starter
New Member
Yea, after further research I've found you can call a VB DLL from installscript since its not exported. Thanks for the replys Have you guys had any experience with Installshield Pro 2000/ver 6.2 ? It looks like you can call COM objects from installscript which would allow you to access the functions of a VB dll ?
If worst comes to worst I will make a EXE that invokes the dll's.. altho hopefully with 6.2 I can bypass doing this.
Thanks,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|