
TXTechie
Active Members-
Posts
158 -
Joined
-
Last visited
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by TXTechie
-
#RequireAdmin Not Elevating Sub-Processes
TXTechie replied to JoshuaBarnette's topic in AutoIt General Help and Support
Are you running the 64-bit edition of Windows 7 ? If so, you need to compile your script(s) using x64, due to Windows' file & registry redirection when running a 32-bit executable process on a 64-bit OS.- 3 replies
-
- #RequireAdmin
- UAC
-
(and 1 more)
Tagged with:
-
It is a function of the bitness of the SQL Server ODBC component/driver that is installed. It looks like the 32-bit version of the SQL Server ODBC component/driver installed, and so, you must compile your script for a 32-bit executable. If the 64-bit version of the SQL Server ODBC component/driver was installed, then you would have to compile your script to a 64-bit executable - otherwise you would receive similar errors and it would not work if compiling to a 32-bit executable.
-
Window Info Tool question
TXTechie replied to TerryJFord1021's topic in AutoIt General Help and Support
Or, download the latest Corporate licensed version of the Shockwave Player (in MSI format) here: http://www.adobe.com/go/sw_msi_installer -
Line Number in message box display
TXTechie replied to redpicker's topic in AutoIt General Help and Support
cal, You can include parenthesis "()" so that you can see the negative numbers (like -1)... I often do this to see the full variable result including spaces too: $mb=MsgBox(0, @ScriptName, 'Line ' & @ScriptLineNumber & @CRLF & '---' & ' (' & $| & ') ' & '---') -
This is a very nice-looking and playing Scrabble game, called ScrabbleIt: '?do=embed' frameborder='0' data-embedContent>>
-
This is a very well-developed checkers game (with great graphics)!: '?do=embed' frameborder='0' data-embedContent>>
-
What is the best way to copy files?
TXTechie replied to Chimaera's topic in AutoIt General Help and Support
I like FastCopy, but I also use robocopy. Here's a good review of free copy utilities from one of my trusted techie resources: Best Free File Copy Utility (Updated 6 July 2013) [Gizmo's Freeware] -
Another Run or ShellExecute...
TXTechie replied to slaney30's topic in AutoIt General Help and Support
Based on what Jon says about preferring ShellExecute() over Run() in this post (), wouldn't it be best to use the ShellExecute() code here - especially with installations? -
RTFC, Welcome to the AutoIt forums! (I'm fairly new here, as well). In addition to using IE, I wanted to let you know that you can also use the more secure (than IE) Google Chrome browser, which will allow you to view all of the RTF buttons, etc. when composing a forum post here.
-
Nice! It found Symantec on Win7 (64-bit): [0]|Symantec Endpoint Protection [1]|Enabled [2]|C:\Program Files (x86)\Symantec\Symantec Endpoint Protection\WSCSavNotifier.exe [3]|C:\Program Files (x86)\Symantec\Symantec Endpoint Protection\Rtvscan.exe
-
That's great, spudw2k! Well, the main feature that comes to mind is the capability to omit certain profiles (LOCAL SERVICE,NETWORK SERVICE,SYSTEM, etc.) and whether or not to include the .DEFAULT profile (won't always want to include it), but it looks like you're going to be including that feature. Of course, we'll want to be able to load/mount and unload/unmount and be able to add, edit and delete all (or as many as possible) of the different reg types. The VBScript reference that JLogan3o13 provided looks like a good source/template: http://micksmix.wordpress.com/2012/01/13/update-a-registry-key-for-all-users-on-a-system/
-
JLogan3o13 & spudw2k, Thank you both for sharing your VBScript code with me. I'm really surprised that this has not yet been brought into the AutoIt fold, as it is a very useful functionality! Since I will be working on replacing my VBScript scripts with AutoIt, I plan to bring this into AutoIt (and I agree with you spudw2k, I like to stay away from WMI if at all possible since I cannot rely on it working on every PC). If I do so, I will certainly share here with the rest of the AutoIt community.
-
Script ran through SCCM 2012 doesn't finish
TXTechie replied to SiBox's topic in AutoIt General Help and Support
Here's my attempt to obtain an AutoIt solution to this problem: '?do=embed' frameborder='0' data-embedContent>> -
Script ran through SCCM 2012 doesn't finish
TXTechie replied to SiBox's topic in AutoIt General Help and Support
Based on my (limited) knowledge of the issue, I thought it was just those system-level accounts (that usually run a local service) - like SYSTEM - that run in session 0. I thought that if something was executed with a standard AD account (service account or otherwise - it all looks like a standard AD account to Win7), that it would then execute in session 1. Either way, I'm told (by a friend who is more familiar with SCCM) that he uses AutoIt and launches external executables with SCCM packages and never has a problem with GUIs not displaying to the user as it always has with XP and previous. -
Script ran through SCCM 2012 doesn't finish
TXTechie replied to SiBox's topic in AutoIt General Help and Support
JLogan3o13, I thought the session 0/1 issue was only a problem when using the SYSTEM account, not a normal AD account (service account or otherwise). If SiBox is Network Access Account does that not allow him to interact with session 1 ? -
Cannot automate visual studio 2010 install via AutoIt
TXTechie replied to jelliott's topic in AutoIt General Help and Support
Actually, this is a more reliable way to verify, and how I usually do it... Instead of: If @error = 0 Then I use: If $Value = "Microsoft .NET Framework 4 Extended" Then Of course, changing what you are specifically looking for per application name or version on the right-side of the equal sign (=). -
Cannot automate visual studio 2010 install via AutoIt
TXTechie replied to jelliott's topic in AutoIt General Help and Support
What OS and bitness are you testing this on? If WinXP or Win7 (32-bit), try this: $Value = RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8E34682C-8118-31F1-BC4C-98CD9675E1C2}", "DisplayName") If @error = 0 Then MsgBox (0,"Installed?", $Value) Else MsgBox(0, "Installed?", "Not installed") EndIf If you are running a 64-bit OS, try this: $Value = RegRead("HKLM64\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8E34682C-8118-31F1-BC4C-98CD9675E1C2}", "DisplayName") If @error = 0 Then MsgBox (0,"Installed?", $Value) Else MsgBox(0, "Installed?", "Not installed") EndIf -
Cannot automate visual studio 2010 install via AutoIt
TXTechie replied to jelliott's topic in AutoIt General Help and Support
jelliott, That's the root of the registry keys that you'll need to begin searching for whether what you are looking for is installed. For instance, on my Win7 (64-bit) PC, here are the relevant registry values for the .NET Framework 4: Microsoft .NET Framework 4 Extended = HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall{8E34682C-8118-31F1-BC4C-98CD9675E1C2}DisplayName (or DisplayVersion) Microsoft .NET Framework 4 Client Profile = HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall{F5B09CFD-F0B2-36AF-8DF4-1DF6B63FC7B4}DisplayName (or DisplayVersion) Does that make sense? -
Cannot automate visual studio 2010 install via AutoIt
TXTechie replied to jelliott's topic in AutoIt General Help and Support
When checking to determine whether or not a particular software application is installed, I think it's most reliable to check against Add/Remove Programs (WinXP) / Programs and Features (Vista and above): HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall - (For 32-bit software installations on a 64-bit OS) These are what I always use. -
How to keep Koda Form OPEN in front of applications
TXTechie replied to idanzzz's topic in AutoIt GUI Help and Support
idanzzz, You might want to check out the included form designer of the title="">ISN AutoIt Studio AutoIt IDE. It's in beta, but it's maturing nicely and it makes it MUCH easier to create GUIs (with cleaner GUI-related code that Koda)! -
BrewManNH - Thanks, that makes sense - just do what I need to it before checking another drive, no need to concatenate. Melba23 - Thank you for the example... I would have NEVER come up with how to do that on my own (I did see and study the _ArrayConcatenate function, but I still couldn't figure out how to go about coding it). Again, thank you both!