![]() ![]() ![]() HKCR registry key added to advertise file extension: WinSetState("Activate Tableau", "", - Au3Recorder generated code End. RegWrite("HKCU\Software\Tableau", "Configured", "Reg_SZ", "Yes") Local $sval = RegRead ("HKCU\Software\Tableau","Configured") you can use following script to create autoit exe. You can delete msi default shortcut and create our own shortcut pointing to autoit exe. So to avoid that we can also use following. Using active setup the autoit script gives random behaviour if we login as restricted user. #endregion - Au3Recorder generated code End. Local $PID = ProcessExists("tabreader.exe") Run('C:\Program Files (x86)\Tableau\Tableau Reader 8.2\bin\tabreader.exe') Run('C:\Program Files\Tableau\Tableau Reader 8.2\bin\tabreader.exe') Local $Ostype = RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\", "PROCESSOR_ARCHITECTURE") #endregion - Internal functions Au3Recorder End. RegWrite("HKCU\Software\Tableau\Registration\Data", "last_name", "REG_SZ", "XYZ") RegWrite("HKCU\Software\Tableau\Registration\Data", "email", "REG_SZ", "first_name", "REG_SZ", "ABD") RegWrite("HKCU\Software\Tableau\Registration\Data", "country", "REG_SZ", "FR") RegWrite("HKCU\Software\Tableau\Registration\Data", "company", "REG_SZ", "ABC") If Not WinActive($title,$text) Then WinActivate($title,$text) #region - Internal functions Au3Recorder Start -įunc _WinWaitActivate($title,$text,$timeout=0) #region -Au3Recorder generated code Start (v3.3.7.0). #EndRegion **** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker #Region **** Directives created by AutoIt3Wrapper_GUI **** Just compile and build following script and use the script exe file. You just need to excute the following autoit script using active setup. I have used active setup to perform this and its working. I have written autoit script to write following regitry keys and suppress the registration window. I have same problem with tableau reader 8.2. ![]()
0 Comments
Leave a Reply. |