Jump to content

TXTechie

Active Members
  • Posts

    158
  • Joined

  • Last visited

Everything posted by TXTechie

  1. 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.
  2. 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.
  3. Or, download the latest Corporate licensed version of the Shockwave Player (in MSI format) here: http://www.adobe.com/go/sw_msi_installer
  4. 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 & '---' & ' (' & $| & ') ' & '---')
  5. This is a very nice-looking and playing Scrabble game, called ScrabbleIt: '?do=embed' frameborder='0' data-embedContent>>
  6. This is a very well-developed checkers game (with great graphics)!: '?do=embed' frameborder='0' data-embedContent>>
  7. That's cool. I'm not in a hurry to need this for myself yet. But, at some point in the future, I'll want/need this functionality.
  8. 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]
  9. 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?
  10. 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.
  11. 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
  12. 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/
  13. 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.
  14. Here's my attempt to obtain an AutoIt solution to this problem: '?do=embed' frameborder='0' data-embedContent>>
  15. 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.
  16. Hi spudw2k, I would be VERY interested in your VBScript and I would like to convert it for use with AutoIt ! Does AutoIt not already have bult-in functions or a UDF for this purpose already?
  17. 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 ?
  18. 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 (=).
  19. 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
  20. 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?
  21. 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.
  22. 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)!
  23. Hi Wombat, Thank you for the additional advice and information. I'll have to read the UDF more closely for clues on how to use it! Thanks (to you and Melba23)!
  24. 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!
×
×
  • Create New...