I would like to hide the Dos boxes that appear when running cusom actions.
I am using cscript and cmd/c.
Thanks
Gez
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Minimised/hidden Dos Boxes
Started by
gez
, Apr 11 2003 10:05
6 replies to this topic
Posted 11 April 2003 - 18:47
Give /s argument for the custom script i.e. cmd /s
(or) search and download a copy of runh.exe, a 3rd party exe which runs cmd in hidden mode
(or) search and download a copy of runh.exe, a 3rd party exe which runs cmd in hidden mode
Rajiv Madassery
Galway Scripting Center
Digital GlobalSoft Ltd.
(Subsidiary of Hewlett-Packard Company)
Galway Scripting Center
Digital GlobalSoft Ltd.
(Subsidiary of Hewlett-Packard Company)
Posted 23 April 2003 - 16:36
cmd /s ?
I am not sure if there is a /s.
Sorry but I cannot get this to work.
Gez
I am not sure if there is a /s.
Sorry but I cannot get this to work.
Gez
Posted 23 April 2003 - 18:30
sorry for that gez. could you download a copy of runh.exe from http://thethin.net/runh.zip and serve your purpose....
Rajiv Madassery
Galway Scripting Center
Digital GlobalSoft Ltd.
(Subsidiary of Hewlett-Packard Company)
Galway Scripting Center
Digital GlobalSoft Ltd.
(Subsidiary of Hewlett-Packard Company)
Posted 24 April 2003 - 03:08
Why don't you use a VBScript?
Dim oWsh
Set oWsh = CreateObject("Wscript.Shell")
oWsh.Run strCmdFile, 0, False
Set oWsh = Nothing
Dim oWsh
Set oWsh = CreateObject("Wscript.Shell")
oWsh.Run strCmdFile, 0, False
Set oWsh = Nothing
Posted 28 August 2003 - 08:12
How do I use an executable that is only available during Setup/Re-install/Remove time, using the VBScript way? I stick to vbscript, because I'm trying to make this work in an Merge Module.
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,
Jan
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,
Jan
Posted 29 August 2003 - 08:45
The way I do this:
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.
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.