Jump to content

JBond

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by JBond

  1. Yes, I tried not successfull. The outcom is always 0409 (Englisch). It seems to be the displaylanguage of the system account because installations (startet from SCCM) running under local system context.
  2. Yeah..... But this will not be the right direction. Installation are running under system-account and not in user-context. My users aren't local admins So system-account seems to have english displaylanguage..... Any ideas? Regards, Bond
  3. Thanks. Maybe this seems to be the right way... Do you know, what this is checking? DisplayLang?
  4. Hi there, in my enterprise environment we are deploying our Windows 7 Clients to our subsidaries in Germany, USA, China, .... For corporate client deployment we are using one image for all countries. After deploying the Win7 image we are installing language packs to the computers and set Format, Location, DisplayLanguage, Keyboard, ... to the clients depending on the country, where they are located. During my AutoIt Skripts I need to check the configured language for language-specific settings, msgboxes, ... But I can't use macro @OSLanguage, because the outcome is everywhere english. So I do have to check the DisplayLanguage or Location... Is there a common macro or how can I check for DisplayLanguage / Location? Regards, Bond
  5. Hey there! Any ideas? Has anyone tried something similar? Regards, Bond
  6. Hello Together! In my environment we are using BitLocker in combination with MBAM to encrypt our mobile devices. Currend process: - Install MBAM-Client during OSD - Computer object is moved to right OU in ActiveDirectory - GroupPolicys apply and provide settings for MBAM (Key-Server e.g) - MBAM-Client starts - User starts encryption-process What I want: Aim is to get the encryption startet during OSD with all the right settings. I found this helpful article: http://onlinehelp.microsoft.com/en-us/mdop/hh285657.aspx Does anyone have experience with this topic? The descriped steps should be possible with Autoit? Thanks for every replay! Regards, Bond
  7. Dear Friends! I need a programm to create the EndorsementKeyPair on my notebooks. EKP can be created by starting the WMI-Function "CreateEndorsementKeyPair". Following script: MsgBox(0,"Start","Start of Skript") ; get the WIM object $objWMIService = ObjGet("WinMgmts:{impersonationLevel=impersonate,AuthenticationLevel=pktprivacy}//" & "." & "\root\CIMV2\Security\MicrosoftTpm") $objTPMwmi = $objWMIService.InstancesOf("Win32_Tpm") Dim $ReturnPresent Dim $ReturnCreate Dim $objSetting For $objSetting In $objTPMwmi $settingEK = $objSetting.IsEndorsementKeyPairPresent($ReturnPresent) MsgBox(0,"Text","For Check: IsEndorsementKeyPresent Value($ReturnPresent) should be False(0) if Not available: " & $ReturnPresent) MsgBox(0,"Text","For Check2: IsEndorsementKeyPresent Return($settingEK) should be 0 if run: " & $settingEK) Next If $ReturnPresent = 1 Then ; <== Means EKP is available MsgBox(0,"text","ReturnCode ReturnPresent = TRUE (1) - EK available " & $ReturnPresent) ElseIf $ReturnPresent = 0 Then ; <== Means EKP NOT available MsgBox(0,"text","ReturnCode ReturnPresent = FALSE (0) - EK NOT available " & $ReturnPresent) MsgBox(0,"text","I now create the EndorsementKeyPair") $settingCR = $objSetting.CreateEndorsementKeyPair($ReturnCreate) MsgBox(0,"Text","I created the EKP. Return Code of $ReturnCreate: " & $ReturnCreate) MsgBox(0,"Text","I created the EKP. Return Code of the methode: " & $settingCR) EndIf MsgBox(0,"End","End of script") Evereything is running fine up to "MsgBox(0,"text","I now create the EndorsementKeyPair")" But then it's telling me "Line 24: Error: Variable must be of type "object". Could you help me out, please?
  8. Thank you guys @abberration: How can I decompile this executable? With the inno setup: http://www.jrsoftware.org/isdl.php ? How can I find out at all, how exe-files are compiled, if I don't know which method was used for compiling? @JLogan3o13: Thanks. Where did you find the documentation? http://freemind.sourceforge.net/wiki/index.php/Main_Page Here I just found the "freemind documentation", but no information about install switches?
  9. Hey Together! I want to install FreeMind: http://freemind.sourceforge.net/wiki/index.php/Main_Page via AutoIt. How can I find parameters for this FreeMind.exe? Untill now I just found "/VERYSILENT" for a silent installation. Example: ShellExecuteWait(@TempDir & "\InstallFreeMind\FreeMind-Windows-Installer-0.9.0-max.exe", " /VERYSILENT") Currently I'm searching for an option to not install the desktop icon? Regards, Bond
  10. Hey Zedna! Resources UDF is awesome. Thank you very much for that I've a problem including a .jpg to my script for a GUI. I want to add the file from an SMB-Share like this: #AutoIt3Wrapper_Res_File_Add=\\content\shareIT$\GUI\Installlogo.jpg, rt_rcdata, installlogo_1 but it's not working? Adding the same file by #AutoIt3Wrapper_Res_File_Add=D:\Installlogo.jpg, rt_rcdata, installlogo_1 works fine. Comparing the size of the compiled .exe - it's definitively not included in the exe.
  11. I used Resources UDF... ... and it finally worked quite perfect!!! Thank you very much! Wouldn't this be a good topic to be inculded in the wiki?
  12. Hello together! I'm quite new on AutoIT. I tried to create a GUI (progressbar) which runs during an installation and shows the user that there is still activity in the background. This GUI includes a logo (pictures) that I want to have compiled in the exe file. Here's my script: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker #AutoIt3Wrapper_Res_File_Add=D:\Work\Autoit\GUI\Installpic.jpg #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <GUIConstantsEx.au3> #include <ProgressConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Installation in process", 623, 449) GUISetBkColor(0xFFFFFF) $Pic1 = GUICtrlCreatePic("D:\Work\Autoit\GUI\Installpic.jpg", 127, 40, 369, 118) $Label1 = GUICtrlCreateLabel("Installation running", 232, 216, 158, 17) $Progress1 = GUICtrlCreateProgress(56, 296, 521, 33) ;GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### f_startmsgbox() f_msgboxgrow(20) f_msgboxgrow(40) f_msgboxgrow(60) f_msgboxgrow(80) f_msgboxgrow(100) f_endmsgbox() Func f_startmsgbox() GUISetState(@SW_SHOW) Sleep(2000) EndFunc Func f_msgboxgrow($vsize) GUICtrlSetData($progress1, $vsize) Sleep(2000) EndFunc Func f_endmsgbox() GUISetState(@SW_HIDE) EndFunc Sleep(2000) MsgBox(0,"Install Finished","Installation OK") How do I have to "address" the included Picture: #AutoIt3Wrapper_Res_File_Add=D:\Work\Autoit\GUI\Installpic.jpg in the GUI-Line: $Pic1 = GUICtrlCreatePic("D:\Work\Autoit\GUI\Installpic.jpg", 127, 40, 369, 118) Or am I completely wrong? Thanks for your help!
×
×
  • Create New...