mavsol
Computer
- Oct 7, 2009
- 4
Hi,
I am trying to automate the Pro/E install since I have to setup new user's machines quite frequently. I have tried the command line procedure in :
Here is my single install line in my batch file:
R:\Installers\ProE_4\SETUP.EXE -nographics -uitrail myinstall2.txt
Here is myinstall2.txt:
! UI trail file version 1
! Application name `ps`
HIDE_SPLASH
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `ScreenWelcome.AcceptBtn` \
1
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `ScreenWelcome.ProdButton.1`
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `ptcsetup`
~ Activate `ptcsetup` `ScreenLicList.PushButton1`
~ FocusIn `ps_lic_serv` `HostnameInput`
~ Input `ps_lic_serv` `HostnameInput` \
`g`
~ Input `ps_lic_serv` `HostnameInput` \
`go`
~ Input `ps_lic_serv` `HostnameInput` \
`gol`
~ Input `ps_lic_serv` `HostnameInput` \
`gold`
~ Input `ps_lic_serv` `HostnameInput` \
`goldm`
~ Input `ps_lic_serv` `HostnameInput` \
`goldmi`
~ Input `ps_lic_serv` `HostnameInput` \
`goldmin`
~ Input `ps_lic_serv` `HostnameInput` \
`goldmine`
~ Update `ps_lic_serv` `HostnameInput` \
`goldmine`
~ FocusOut `ps_lic_serv` `HostnameInput`
~ Activate `ps_lic_serv` `StdOK`
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `ScreenWindows.ScDesktop` \
1
~ Activate `ptcsetup` `ScreenWindows.ScStartMenu` \
1
~ FocusIn `ptcsetup` `ScreenWindows.StartInDir`
~ Input `ptcsetup` `ScreenWindows.StartInDir` \
`C:\\Documents and Settings\\m\\My Documents`
~ Input `ptcsetup` `ScreenWindows.StartInDir` \
`C:\\Documents and Settings\\my\\My Documents`
~ Input `ptcsetup` `ScreenWindows.StartInDir` \
`C:\\Documents and Settings\\myu\\My Documents`
~ Input `ptcsetup` `ScreenWindows.StartInDir` \
`C:\\Documents and Settings\\myus\\My Documents`
~ Input `ptcsetup` `ScreenWindows.StartInDir` \
`C:\\Documents and Settings\\myuse\\My Documents`
~ Input `ptcsetup` `ScreenWindows.StartInDir` \
`C:\\Documents and Settings\\myuser\\My Documents`
~ FocusOut `ptcsetup` `ScreenWindows.StartInDir`
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `ScreenLpcfg.LCB.LpcfgCmdList` \
1
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `LpcfgCmdList.cmd_add`
~ FocusOut `ps_lic_sel` `CmdDesc1`
~ FocusIn `ps_lic_sel` `CmdName1`
~ Input `ps_lic_sel` `CmdName1` \
`proe`
~ Input `ps_lic_sel` `CmdName1` \
`proe_`
~ Input `ps_lic_sel` `CmdName1` \
`proe_m`
~ Input `ps_lic_sel` `CmdName1` \
`proe_me`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mec`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mech`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mecha`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mechan`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mechani`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mechanis`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mechanism`
~ Update `ps_lic_sel` `CmdName1` \
`proe_mechanism`
~ FocusOut `ps_lic_sel` `CmdName1`
~ FocusIn `ps_lic_sel` `CmdDesc1`
~ Input `ps_lic_sel` `CmdDesc1` \
`P`
~ Input `ps_lic_sel` `CmdDesc1` \
`Pr`
~ Input `ps_lic_sel` `CmdDesc1` \
`Pro`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe `
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe E`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe `
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E `
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E M`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Me`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mec`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mech`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mecha`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechan`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechani`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechania`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam `
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam D`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam De`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam Des`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam Desi`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam Desig`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam Design`
~ Update `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam Design`
~ FocusOut `ps_lic_sel` `CmdDesc1`
~ Select `ps_lic_sel` `List3` \
1 `127`
~ Activate `ps_lic_sel` `MoveToOut`
~ FocusIn `ps_lic_sel` `CmdName1`
~ FocusOut `ps_lic_sel` `CmdName1`
~ Activate `ps_lic_sel` `StdOK`
~ Select `ptcsetup` `LpcfgCmdList.CmdList` \
1 `1`
~ Activate `ptcsetup` `LpcfgCmdList.cmd_edit`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechanism Design`
~ Update `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechanism Design`
~ FocusOut `ps_lic_sel` `CmdDesc1`
~ Activate `ps_lic_sel` `StdOK`
~ Activate `ptcsetup` `NextBtn`
INSTALL_THREAD
~ Activate `ptcsetup` `ptcsetup`
~ Activate `ptcsetup` `ptcsetup`
~ Activate `ptcsetup` `ptcsetup`
~ Activate `ptcsetup` `ptcsetup`
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `ExitBtn`
! Message Dialog: Question
! : Confirm exit from PTC.Setup
~ Activate `UI Message Dialog` `yes`
However, the command only runs for a few minutes then closes with no error message.
Thanks in advance for any advice or comments.
I am trying to automate the Pro/E install since I have to setup new user's machines quite frequently. I have tried the command line procedure in :
Here is my single install line in my batch file:
R:\Installers\ProE_4\SETUP.EXE -nographics -uitrail myinstall2.txt
Here is myinstall2.txt:
! UI trail file version 1
! Application name `ps`
HIDE_SPLASH
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `ScreenWelcome.AcceptBtn` \
1
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `ScreenWelcome.ProdButton.1`
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `ptcsetup`
~ Activate `ptcsetup` `ScreenLicList.PushButton1`
~ FocusIn `ps_lic_serv` `HostnameInput`
~ Input `ps_lic_serv` `HostnameInput` \
`g`
~ Input `ps_lic_serv` `HostnameInput` \
`go`
~ Input `ps_lic_serv` `HostnameInput` \
`gol`
~ Input `ps_lic_serv` `HostnameInput` \
`gold`
~ Input `ps_lic_serv` `HostnameInput` \
`goldm`
~ Input `ps_lic_serv` `HostnameInput` \
`goldmi`
~ Input `ps_lic_serv` `HostnameInput` \
`goldmin`
~ Input `ps_lic_serv` `HostnameInput` \
`goldmine`
~ Update `ps_lic_serv` `HostnameInput` \
`goldmine`
~ FocusOut `ps_lic_serv` `HostnameInput`
~ Activate `ps_lic_serv` `StdOK`
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `ScreenWindows.ScDesktop` \
1
~ Activate `ptcsetup` `ScreenWindows.ScStartMenu` \
1
~ FocusIn `ptcsetup` `ScreenWindows.StartInDir`
~ Input `ptcsetup` `ScreenWindows.StartInDir` \
`C:\\Documents and Settings\\m\\My Documents`
~ Input `ptcsetup` `ScreenWindows.StartInDir` \
`C:\\Documents and Settings\\my\\My Documents`
~ Input `ptcsetup` `ScreenWindows.StartInDir` \
`C:\\Documents and Settings\\myu\\My Documents`
~ Input `ptcsetup` `ScreenWindows.StartInDir` \
`C:\\Documents and Settings\\myus\\My Documents`
~ Input `ptcsetup` `ScreenWindows.StartInDir` \
`C:\\Documents and Settings\\myuse\\My Documents`
~ Input `ptcsetup` `ScreenWindows.StartInDir` \
`C:\\Documents and Settings\\myuser\\My Documents`
~ FocusOut `ptcsetup` `ScreenWindows.StartInDir`
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `ScreenLpcfg.LCB.LpcfgCmdList` \
1
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `LpcfgCmdList.cmd_add`
~ FocusOut `ps_lic_sel` `CmdDesc1`
~ FocusIn `ps_lic_sel` `CmdName1`
~ Input `ps_lic_sel` `CmdName1` \
`proe`
~ Input `ps_lic_sel` `CmdName1` \
`proe_`
~ Input `ps_lic_sel` `CmdName1` \
`proe_m`
~ Input `ps_lic_sel` `CmdName1` \
`proe_me`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mec`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mech`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mecha`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mechan`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mechani`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mechanis`
~ Input `ps_lic_sel` `CmdName1` \
`proe_mechanism`
~ Update `ps_lic_sel` `CmdName1` \
`proe_mechanism`
~ FocusOut `ps_lic_sel` `CmdName1`
~ FocusIn `ps_lic_sel` `CmdDesc1`
~ Input `ps_lic_sel` `CmdDesc1` \
`P`
~ Input `ps_lic_sel` `CmdDesc1` \
`Pr`
~ Input `ps_lic_sel` `CmdDesc1` \
`Pro`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe `
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe E`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe `
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E `
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E M`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Me`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mec`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mech`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mecha`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechan`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechani`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechania`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam `
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam D`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam De`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam Des`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam Desi`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam Desig`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam Design`
~ Update `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechaniam Design`
~ FocusOut `ps_lic_sel` `CmdDesc1`
~ Select `ps_lic_sel` `List3` \
1 `127`
~ Activate `ps_lic_sel` `MoveToOut`
~ FocusIn `ps_lic_sel` `CmdName1`
~ FocusOut `ps_lic_sel` `CmdName1`
~ Activate `ps_lic_sel` `StdOK`
~ Select `ptcsetup` `LpcfgCmdList.CmdList` \
1 `1`
~ Activate `ptcsetup` `LpcfgCmdList.cmd_edit`
~ Input `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechanism Design`
~ Update `ps_lic_sel` `CmdDesc1` \
`Proe/E Mechanism Design`
~ FocusOut `ps_lic_sel` `CmdDesc1`
~ Activate `ps_lic_sel` `StdOK`
~ Activate `ptcsetup` `NextBtn`
INSTALL_THREAD
~ Activate `ptcsetup` `ptcsetup`
~ Activate `ptcsetup` `ptcsetup`
~ Activate `ptcsetup` `ptcsetup`
~ Activate `ptcsetup` `ptcsetup`
~ Activate `ptcsetup` `NextBtn`
~ Activate `ptcsetup` `ExitBtn`
! Message Dialog: Question
! : Confirm exit from PTC.Setup
~ Activate `UI Message Dialog` `yes`
However, the command only runs for a few minutes then closes with no error message.
Thanks in advance for any advice or comments.