Jump to content

erictan357

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by erictan357

  1. JLogan, That worked like a charm, I just had to change to switch to /S instead of /s. Now I am working on launching the second .exe file.. Is there something in AutoIT that prevents me from using RunWait two times in a row? I tried using ShellExecute which seems to launch the NCInst64.exe file but it's not letting me do it silently. Any ideas?
  2. From the command prompt, I am able to run both files silently using the /S switch so I know it is a valid command. Both files are confirmed to be in the directory path.. Before the RunWait() command, I was using ShellExecute which can definitely launch both files, but neither /S switch or the @SW_Hide flag worked for me..
  3. JLogan, I am not seeing any msi packages/files in the folder C:UsersxxxxAppDataLocalTemp when installing either of the .exe files. When I double click the .exe, there is a black status box that displays information such as what is being installed, deleted, updated etc. Thank you
  4. I apologize, I feel as though I did not word my question correctly. I am installing an application that has two install parts to it, first part is the JuniperSetupServiceInstaller.exe and the second part is NCInst64.exe When I use the RunWait command on JuniperSetupServiceInstaller.exe /S, it works perfectly fine, even without the @SW_Hide flag. In my code, I have RunWait(~~JuniperSetupServiceInstaller.exe /S") and follow by this line, I have RunWait(~~NCInst64.exe /S") Is there for any reason why the NCInst64.exe /S isn't even launching when I run this code? If for some reason I try to run JuniperSetupServiceInstaller.exe twice, it will go through but not NCInst64.exe.. Also, where is the correct place to place the @SW_Hide? Would it be RunWait("C:ACMScacheJuniper_EVPN_Client_17087Juniper_EVPN_Client_17087JuniperSetupServiceInstaller.exe /S", "", "", @SW_Hide) or RunWait("C:ACMScacheJuniper_EVPN_Client_17087Juniper_EVPN_Client_17087JuniperSetupServiceInstaller.exe /S", @SW_Hide) Thank you -ET
  5. Hello, I am fairly new to AutoIT and I have been trying to create a script for silent installs on a machine. There are two separate files I am trying to install one after another. Is there any reason why I am using the commands RunWait("C:\ACMS\cache\Juniper_EVPN_Client_17087\Juniper_EVPN_Client_17087\JuniperSetupServiceInstaller.exe /S") RunWait("C:\ACMS\cache\Juniper_EVPN_Client_17087\Juniper_EVPN_Client_17087\NCInst64.exe /S") I am not able to run the other command, no errors or anything. I am able to run that same command through the command prompt. If I put in RunWait("C:\ACMS\cache\Juniper_EVPN_Client_17087\Juniper_EVPN_Client_17087\JuniperSetupServiceInstaller.exe /S") RunWait("C:\ACMS\cache\Juniper_EVPN_Client_17087\Juniper_EVPN_Client_17087\JuniperSetupServiceInstaller.exe /S") I can install the same service twice but not a different one. One reason I know it's not installing is because the NCInst64.exe is not prompting me for an admin password like it should. Thank you for your assistance. ET
×
×
  • Create New...