Minimised/hidden Dos Boxes
Posted 11 April 2003 - 10:05
I am using cscript and cmd/c.
Posted 11 April 2003 - 18:47
(or) search and download a copy of runh.exe, a 3rd party exe which runs cmd in hidden mode
Galway Scripting Center
Digital GlobalSoft Ltd.
(Subsidiary of Hewlett-Packard Company)
Posted 23 April 2003 - 16:36
I am not sure if there is a /s.
Sorry but I cannot get this to work.
Posted 24 April 2003 - 03:08
Set oWsh = CreateObject("Wscript.Shell")
oWsh.Run strCmdFile, 0, False
Set oWsh = Nothing
Posted 28 August 2003 - 08:12
One way I could think of, is to install the file as any other file that is being installed and delete it just before or after InstallFinalize. Any recommedations?
Thanks in advance,
Posted 29 August 2003 - 08:45
Put the dll or exe in the Binary table. In your CA, extract the dll/exe from the binary table, to a temp folder. When your CA is done, delete the dll/exe.
Note that special CAs exist to run an executable stored in the Binary table (CA 2).
Sample code to extract a file from the Binary table is on this site - use the classical version.