
theak
Active Members-
Posts
24 -
Joined
-
Last visited
Everything posted by theak
-
UDF?
- 15 replies
-
- word
- wordperfect
-
(and 2 more)
Tagged with:
-
Trying to find a quick way to convert 30k+ WordPerfect files into Word. Will probably run it locally from an admin machine or server so user permissions won't affect it. My idea was just to open the file, select all, copy, open new word doc, paste, file, save.... What would be the best way to go about scripting something in this way?
- 15 replies
-
- word
- wordperfect
-
(and 2 more)
Tagged with:
-
craigslist renewing posts -- triggering HTML forms
theak replied to DrDoug's topic in AutoIt General Help and Support
Any luck with this? Trying to search the forums for something similar and this is the only post I found. -
ShellExecute("\\servername\cofs\Organization\ITS\_Software & Hardware\AS400\DVD\Windows\cwblaunch.exe", '"/v/qn ADDLOCAL=ALL"') I had to dig to find the right setup.exe according to the documentation but I got it to run. However, it pops up with this dialog box (attached) showing me the command line parameters, as if I'm incorrect. It continues to run the install however, but seemingly without any of the command line parameters. Here's the command I entered into the CMD prompt exactly: "\\servername\cofs\Organization\ITS\_Software & Hardware\AS400\DVD\Windows\image64a\setup.exe",'"/v/qn ADDLOCAL=ALL"'
-
Detecting 32 vs 64 install button instances
theak replied to theak's topic in AutoIt General Help and Support
Bump...- 8 replies
-
- installs
- controlclick
-
(and 1 more)
Tagged with:
-
Detecting 32 vs 64 install button instances
theak replied to theak's topic in AutoIt General Help and Support
Ok, awesome, I had to dig to find the right setup.exe according to the documentation but I got it to run. However, it pops up with this dialog box (attached) showing me the command line parameters, as if I'm incorrect. It continues to run the install however, but seemingly without any of the command line parameters. Here's the command I entered into the CMD prompt exactly: "\\servername\cofs\Organization\ITS\_Software & Hardware\AS400\DVD\Windows\image64a\setup.exe",'"/v/qn ADDLOCAL=ALL"'- 8 replies
-
- installs
- controlclick
-
(and 1 more)
Tagged with:
-
Detecting 32 vs 64 install button instances
theak replied to theak's topic in AutoIt General Help and Support
If I run it at the command line level I get the error that it's not a valid Win32 application.- 8 replies
-
- installs
- controlclick
-
(and 1 more)
Tagged with:
-
Detecting 32 vs 64 install button instances
theak replied to theak's topic in AutoIt General Help and Support
It's an ancient mainframe software. I doubt it actually does but I can contact our vendor to see.- 8 replies
-
- installs
- controlclick
-
(and 1 more)
Tagged with:
-
I have an install that I'm trying to deploy on both 32 bit and 64 bit machines. Trying to move more to 64 bit but still curious about making this work for both at the same time. This is the 32 bit version of the script. I tried to make this same script work for a 64 bit install but realized the button IDs were different. Same install exe though. What's the smart way to detect the buttonIDs based on the OS architecture? I thought possibly having the button ID as a variable with case selects but I wasn't quite sure how to pull it off. #Region #AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministrator #EndRegion #include <FileConstants.au3> #include <MsgBoxConstants.au3> Run("\\servername\cofs\Organization\ITS\_Software & Hardware\AS400\DVD\Windows\cwblaunch.exe") ;WinWaitActive("Security Warning","",5) ;ControlClick("Open File - Security Warning","&Run",4426,"left",1) WinWaitActive("Choose Setup Language","",5) sleep(500) ControlClick("Choose Setup Language","OK",1006,"left",1) Do Sleep(10) Until ControlCommand("IBM i Access for Windows 7.1 - InstallShield Wizard","&Next >","Button1","IsEnabled") sleep(500) ;MsgBox($MB_OK,"Control Command Found","Sent for first wait hang") ControlClick("IBM i Access for Windows 7.1 - InstallShield Wizard","&Next >",23467,"left",1) sleep(500) ControlClick("IBM i Access for Windows 7.1 - InstallShield Wizard","I &accept the terms in the license agreement",22951,"left",1) sleep(500) ControlClick("IBM i Access for Windows 7.1 - InstallShield Wizard","&Next >",23467,"left",1) sleep(500) ControlClick("IBM i Access for Windows 7.1 - InstallShield Wizard","&Next >",23467,"left",1) sleep(500) ControlClick("IBM i Access for Windows 7.1 - InstallShield Wizard","&Next >",23467,"left",1) sleep(500) ControlClick("IBM i Access for Windows 7.1 - InstallShield Wizard","&Next >",23467,"left",1) sleep(500) ControlClick("IBM i Access for Windows 7.1 - InstallShield Wizard","&Install",23546,"left",1) ;Wait for finish button to appear Do $Finish = ControlGetHandle("IBM i Access for Windows 7.1 - InstallShield Wizard", "Finish", 23500) Sleep(100) Until $Finish <> "" sleep(500) ControlClick("IBM i Access for Windows 7.1 - InstallShield Wizard", "Finish", 23500,"left",1) ;Start second part of install Run("\\servername2\Apps$\AutoIT\AS400\AS400_2 Patch_1.exe"
- 8 replies
-
- installs
- controlclick
-
(and 1 more)
Tagged with:
-
ShellExecuteWait("\\servername\Apps$\AutoIT\Ninite-Java-NET-Reader-Silverlight-Installer.exe")
-
Anyone?
-
I've searched for an answer with this but can't seem to replicate the success of others. I have a script that calls on a Ninite exe but I have no idea how to close it to the script can progress to the next step. My solution so far has been to simply put it at the end. I've looked into the /silent parameter for Ninite but to my understanding that's just for the Pro edition.
-
Yes the share is password protected from other users. However, I suppose I could just copy them locally to the deployment server? The most recent error I received when making each application to install an 'application' within MDT was 'unexpected error code 2'. I looked up the error code and it typically means file not found. So my question is, how can I get the AutoIT script to use the rights for a user account with access to the shares I need?
-
Anyone?
-
So I made multiple applications instead of using the AutoIT files, I got the same errors. Not sure why I thought I wouldn't... So now, I'm confused about something in MDT. I thought it used the credentials entered at the beginning were used throughout the whole deployment process? Will I need to make a separate share now with access for everyone, or setup a batch file like jguinch mentioned? Is there no way to manually plug in credentials at the start of the 'application deployment' section?
-
Is there a best practices on using MDT in combination with AutoIT that I'm missing?
-
Tried these settings... and ending up getting this error: I KNOW that I'm entering the user name and password correctly, so I'm not sure what the issue is? Is it not authenticating properly on the server?
-
Getting an error every time I have this AutoIT exe included in my MDT deployment: Here's the settings I have it within MDT: Here's the script (BasicInstall-Trend+MSOffice2013+Lync2013,exe) I'm running: ShellExecuteWait("\\domain.name\cofs\Organization\its\_Support\AutoIT\MSOffice2013Install.exe") ShellExecuteWait("\\domain.name\cofs\Organization\its\_Support\AutoIT\MSLync2013Install.exe") RunWait("\\domain.name\cofs\Organization\ITS\_Support\AUSTIN!\AutoHotKey\Ninite Java NET Reader Silverlight Installer.exe") ShellExecute("\\server-name-av\ofcscan\AutoPccP.exe")Here's the separate scripts it calls on: MSOffice2013Install.exe #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.14.0 Author: AK Script Function: Install Office 2013 with no config options, to remove config options, run exe manually #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here ShellExecute('\\server-name-fs02\apps$\Office2013\setup.exe', '/config "\\domain.name\cofs\Organization\its\_Support\AutoIT\MS Office 2013\config.xml"')MSLync2013Install.exe #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.14.0 Author: AK Script Function: Install Lync 2013 with no config options, to remove config options, run exe manually #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here ShellExecute('\\domain.name\cofs\Organization\its\_Software & Hardware\Microsoft\Lync-2013_32-BIT_X64\x86\setup.exe', '/config "\\domain.name\cofs\Organization\its\_Support\AutoIT\MS Lync 2013\config.xml"') Losing my marbles on this one. Can't seem to figure it out.
-
Trying to make a script where it will run a command to show me the model name AND serial tag info on a laptop remotely and copy it to keyboard step by step. I know how to do this via WMIC but I'm curious how to create a CMD script out of it so I can just one click. So it would look something like.... wmic csproduct get name*copy to clipboard* "Press enter to advance"[Enter]wmic csproduct get identifyingnumber*copy to clipboard* "Finished"Any ideas?
- 4 replies
-
- cmd
- command prompt
-
(and 3 more)
Tagged with:
-
Office not running setup.exe with config.xml
theak replied to theak's topic in AutoIt General Help and Support
Awesome, this totally worked. As a side request, is there a better workflow for answering UAC prompts other than disabling them? I install most programs for users on newly setup PCs on my admin account. -
Office not running setup.exe with config.xml
theak replied to theak's topic in AutoIt General Help and Support
Yes, however the cofs folder is not a hidden share. Tried it with the same result. -
Office not running setup.exe with config.xml
theak replied to theak's topic in AutoIt General Help and Support
Ok, that actually caused a different error. So, now when I run this: ShellExecuteWait('\\servername\apps$\Office2013\setup.exe /config "\\servername\cofs\Organization\its\_Support\AutoIT\MS Office 2013\config.xml"')I get this...(attached) However, when I access the paths individually I can access them. It seems like it maybe thinks it's one big path? -
Office not running setup.exe with config.xml
theak replied to theak's topic in AutoIt General Help and Support
RunWait('\\servername\apps$\Office2013\setup.exe /config "\\servername\cofs\Organization\its\_Support\AutoIT\MS Office 2013\config.xml"') Tried this, still no dice. If I input that command without the single quotes into CMD, works like a charm. -
Office not running setup.exe with config.xml
theak posted a topic in AutoIt General Help and Support
Trying to run a silent install of Office 2013 and Lync 2013 with a config.xml. I can run the commands in CMD and it seems to work great. However, it's not working in AutoIT RunAs("\\servername\apps$\Office2013\setup.exe /config \\servername\cofs\Organization\its\_Support\AutoIT\MS Office 2013\config.xml")Any ideas? As a side note, any way to disable the UAC prompt for an install?