Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2005
    Posts
    470

    Grin Silent installation of Windows Scripting Host?

    Hi,

    my app requires Windows Scripting Host to be installed, latest 5.6 version.

    I wonder if there is a completely silent way to install WSH.

    I think to include Microsoft WSH installers scripten.exe (for 2000/XP) and scr56en.exe (for NT4/9x/Me) as primer files, and run one of them depending on the user OS before my app installation.

    Although Microsoft installers accept a /Q switch that supresses most messages and dialogs, it does not ensure a completely silent installation - still an extraction progress bar at the beginning appears and sometimes a prompt to reboot at the end - I want to avoid both.
    Anyone knows how?

    Note that you can't just include the needed ocx/dll's in your setup because they are protected (on 2000/XP and later) and Windows will not allow the installer to update them - the only way to update WSH on 2000/XP is to run the Microsoft's installer logged as admin.

    Thanks

  2. #2
    Join Date
    Aug 2004
    Posts
    98
    I doubt there's a way to suppress any possible message coming from the MSI installer. If the /Q switch does not suppress everything that might be displayed, then there's no way to do that from outside the MSI ...

    Actually, I think that messages that are displayed although you use the /Q switch, are coming from the operating system itselft and not from the MSI engine ...

    Steve

  3. #3
    Join Date
    Jun 2005
    Posts
    470
    Actually WSH installers are not .msi's, they are self-extracting .exe's which can be unpacked with an archiver like winrar.
    Inside there are about 15 files (ocx/dll/exe) and an .inf file for installation.

    If I unpack the installer and install using the .inf file, there are no messages or dialogs - but this way on Windows 2000 I see errors 'file not found' about every file, which do not appear if I run the unpacked .exe. On 9.x and XP the installation seem to go OK.
    I someone here managed to install WSH silently please advice how.

  4. #4
    Join Date
    Jan 2002
    Location
    Nashville TN
    Posts
    328
    With most Windows Installer programs, I extract the files, then on the MSI itself do a /? to see what options it supports. Sometimes you can get completely slient some times you can. there is a /passive that some support. One think you will have to do is track down the MSI installer I use a nice trick "File.GetDefaultViewer" to locate it then do a file run. Something like this:

    PHP Code:
    WININSTALLER File.GetDefaultViewer(".msi")
    Nresult File.Run(WININSTALLER_TempFolder.."\\install.msi".."/OANYOPTIONSYOUCANUSELIKE /passive""", , true

Similar Threads

  1. INFO: JET and MDAC (Complete) Runtime Notes
    By Desmond in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 11-28-2003, 08:35 AM
  2. INFO: JET 4.0 SP7-SP8 Runtime Notes
    By Desmond in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 11-28-2003, 08:34 AM
  3. HOWTO: Add DirectX 8.1 Support to your Setup Factory 6.0 Installation
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-30-2002, 01:55 PM
  4. INFO: Setup Factory and the Windows Installer
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-22-2002, 10:38 AM
  5. Silent vs Unattended installation
    By MaD in forum Setup Factory 5.0
    Replies: 3
    Last Post: 03-23-2001, 12:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts