Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How can I increase command lines

Featured Replies

Hello

I want to add more command lines in one installation.

I mean, in case of WPI 3.5.1.that I use, I can run only 6 commands in one install.

cmd1[pn]=['CommandLine 1']

cmd2[pn]=['CommandLine 2']

|

cmd6[pn]=['CommandLine 6']

....like this.

I want to perform at least 17 commands in one installation. I modified below 3 files, then I could run 17 commands, but WPI starts from “CommandLine 8”, not CommandLine 1.

-configwizard.js

-generate.js

-program.js

Will you let me know how I can modify *.js to add commands?

:hello:

why not combine all 16 batch files into 1 batch file?

  • Author

Hello glent,

Thank you for your interest. :D

Yes, to make (a) batch file(s) is the best way, I agree. But I got in trouble to install apps using a batch file. Honestly speaking, I do not know how to write a batch file to run all files that I want to install except AutoIt

What I want to do is….

Installing latest installshield update files that I can get from Installshield update .

There are 8 installshield engines (Ver. 2,6,7,8,9,10,10.50,11 with *.msi) and 8 update files (Ver.700 to 1100 with *.exe), totally 16 files. In addition, I need to delete some old Installsheild program files from C:\Program Files\Common Files\InstallShield before updating, so I use AutoIt to delete them. Therefore, there are 17 files that I want to execute.

What I did…. :whistle:

I made an AutoIt batch file to install 16 files + delete old files. Though I could run 16 files from my AutoIt batch file, only 8 update files were executed in onetime, not file by file. (*.msi files could start file by file). I did ‘WinWaitClose (“”, “DONE”)’, but it did not work.

I do not understand reason why “WinWaitClose” commands did not work for those Installsheild file. I guess “WinWaitClose” command does not work for Splash Text in popup window.

So, I have to give up using AutoIt for 16 files installation this time.

;) Though I do not know programming at all, I edited 3 WPI *.js files to increasing command lines. When I run WPI to install 17 files, CommandLine8 was executed at first. After that CommandLine9 was executed, then #10, 11, 12…17, 1, 2, 3….6 were executed file by file.

I would like to install 17 files in the right order.

  • Author

Finally, I could install 16 Installshield update files. :thumbup

I could not modify WPI files but AutoIt. Thanks for glent’s advise, I was able to stick on a way of batch file install.

Here is my script

;;  Installshield update

; Move msi files from DVD
DirCreate("C:\WPI\Temp")
Sleep(1500)
FileCopy("ISScript7.msi", "C:\WPI\Temp\*.*", 1)
Sleep(1500)
FileCopy("ISScript8.Msi", "C:\WPI\Temp\*.*", 1)
Sleep(1500)
FileCopy("isscript9.msi", "C:\WPI\Temp\*.*", 1)
Sleep(1500)
FileCopy("ISScript10.Msi", "C:\WPI\Temp\*.*", 1)
Sleep(1500)
FileCopy("ISScript1050.Msi", "C:\WPI\Temp\*.*", 1)
Sleep(1500)
FileCopy("ISScript11.Msi", "C:\WPI\Temp\*.*", 1)
Sleep(1500)

; Delete Old Installshield files from C:
DirRemove("C:\Documents and Settings\Administrator\Local Settings\Temp\{B0530A72-3B27-4A74-9EC0-CC3D5AE435A5}", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\engine", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Driver\7", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Driver\8", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Driver\9", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Driver\10", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Driver\1050", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Driver\11", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Professional\RunTime\07\00", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Professional\RunTime\07\01", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Professional\RunTime\08\00", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Professional\RunTime\09\00", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Professional\RunTime\09\01", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Professional\RunTime\10\00", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Professional\RunTime\10\01", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Professional\RunTime\10\50", 1)
Sleep(1500)
DirRemove("C:\Program Files\Common Files\InstallShield\Professional\RunTime\11\00", 1)
Sleep(3000)

; Install the latest Installshield engines
RunWait("IkernelUpdate2.exe")
Sleep(2000)
RunWait("IkernelUpdate6.exe")
Sleep(2000)
RunWait("msiexec.exe /qb /i C:\WPI\Temp\ISScript7.msi /qb")
Sleep(2000)
RunWait("msiexec.exe /qb /i C:\WPI\Temp\ISScript8.Msi /qb")
Sleep(2000)
RunWait("msiexec.exe /qb /i C:\WPI\Temp\isscript9.msi /qb")
Sleep(2000)
RunWait("msiexec.exe /qb /i C:\WPI\Temp\ISScript10.Msi /qb")
Sleep(2000)
RunWait("msiexec.exe /qb /i C:\WPI\Temp\ISScript1050.Msi /qb")
Sleep(2000)
RunWait("msiexec.exe /qb /i C:\WPI\Temp\ISScript11.Msi /qb")
Sleep(2000)

; Install the latest Installshield update files
; Use "RunWait" instead of "Run"
RunWait("InstallShieldEngineUpdate700.exe")
Sleep(2000)
RunWait("InstallShieldEngineUpdate701.exe")
Sleep(2000)
RunWait("InstallShieldEngineUpdate901.exe")
Sleep(2000)
RunWait("InstallShieldEngineUpdate1000.exe")
Sleep(2000)
RunWait("InstallShieldEngineUpdate1001.exe")
Sleep(2000)
RunWait("InstallShieldEngineUpdate1050.exe")

; Only 1100.exe popup a window, so can not use "RunWait"
If ProcessWaitClose("InstallShieldEngineUpdate1050.exe") then
Run("InstallShieldEngineUpdate1100.exe")
Endif
WinWait("InstallShield", "InstallShield 11")
WinActivate("InstallShield", "InstallShield 11")
Sleep(2000)
ControlClick("InstallShield", "", "Button1")
ProcessWaitClose("InstallShieldEngineUpdate1100.exe")
Sleep(3000)

; Delete C:\WPI\Temp and all files
DirRemove("C:\WPI\Temp", 1)
Sleep(3000)

In this time, I have no problem about number of command lines. However, I wolud be pleased if I could have more commandLines.

Edited by Tinywoods

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.