Click to See Complete Forum and Search --> : Please Help


tcompe
February 15th, 2000, 04:52 PM
I have created a VB.exe that will get the local users IP, SubnetMask, Default Gateway.

I want to call my VB exe in Installshield. Is there a way that I can return the IP, Sub, Gateway and pass it back into a variable so that I can use it in my IS???

Please help I need to know tonight

thanks

Johnny101
February 15th, 2000, 05:04 PM
My only suggestion would be to write that info to a temp file, somewhere static (like c:\networkinfo.ini" or something), and then in your InstallShield script, (if you can do this is IS) open that file and read out the information. I don't know if you can access files with InstallShield scripting, but it's my suggestion. :) If not, how about the registry?

Hope this applies/helps,
John

John Pirkey
MCSD
www.ShallowWaterSystems.com

tcompe
February 15th, 2000, 05:26 PM
Thats what I decieded to do (Write it to the registry)

I wasnt sure if there was a way to do that...
This works just as good. :-)

Thanks
tcompe