Jump to content


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.
Photo

Minimised/hidden Dos Boxes


6 replies to this topic

gez

gez
  • Members
  • 2 posts

Posted 11 April 2003 - 10:05

I would like to hide the Dos boxes that appear when running cusom actions.
I am using cscript and cmd/c.

Thanks
Gez

rmadassery77

rmadassery77
  • Members
  • 52 posts

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

Rajiv Madassery
Galway Scripting Center
Digital GlobalSoft Ltd.
(Subsidiary of Hewlett-Packard Company)

gez

gez
  • Members
  • 2 posts

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

rmadassery77

rmadassery77
  • Members
  • 52 posts

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)

mandy

mandy
  • Members
  • 121 posts

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


JvdP

JvdP
  • Members
  • 8 posts

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

Zweitze

Zweitze
  • Full Members
  • 522 posts

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.