Cont'd

Jul 14, 2004 12:49

Is there any way to issue this command silenty from a
VB program .exe

RunDll32
C:\PROGRA~1\COMMON~1\INSTAL~1\engine\6\INTEL3~1\Ctor.dll,LaunchSetup
"C:\Program Files\InstallShield Installation
Information\{4329C7B1-6CCB-4BE5-8C3E-A345801F8BAF}\Setup.exe"
-l0x9
I'm looking into ShellExecute() but I don't know if I
can make use of it... Leave a comment

Conversation that *might* help, dunno. xinul July 14 2004, 10:22:22 UTC
Koledo Vision: Is there any way to issue this command silenty from a
VB program .exe

RunDll32
C:\PROGRA~1\COMMON~1\INSTAL~1\engine\6\INTEL3~1\Ctor.dll,LaunchSetup
"C:\Program Files\InstallShield Installation
Information\{4329C7B1-6CCB-4BE5-8C3E-A345801F8BAF}\Setup.exe"
-l0x9
I'm looking into ShellExecute() but I don't know if I
can make use of it...

http://www.mangovision.com/vbapi/ref/s/shellexecute.html
Koledo Vision: Question one my friends posted. Do you have any clue?
Koledo Vision: I sure as heck dont.
MTBSC: heh what is he trying to install?
MTBSC: does he want it to install silently? or just run silently?
Koledo Vision: It needs to execute silently whatever that is. I can't ask him right now though :-\
MTBSC: if he wants it to start and run silently... its best to run it as a service
MTBSC: but if he just wants it to install silently... that will require the installer to be capable of doing that
MTBSC: most installs need some sort of user input or confirmation
MTBSC: shellExecute will just execute a program for him, but it won't definately be silently
Koledo Vision: Okay, there was a question earlier that was answered.
Koledo Vision: The installer will be silent. I guess that can be done with a .inf file + autorun.
Koledo Vision: Thanks. Mind if I paste this to him?
MTBSC: sure
MTBSC: if the installer will be silent...
MTBSC: and he just wants it run once to install something
MTBSC: there is a "RunOnce" reg key he can use
MTBSC: hkeylm > software > ms > windows > currentversion

Hope that helps *nods*

Reply


Leave a comment