Tableau Reader 8.2 - How do I suppress the registration box?
Answers (6)
That doesn't work on v 8.3 EdT.
it seems the registration or even the license is generated based on unique hardware IDS. if i save the reg and import after install on the same machine generated it doesnt prompt to register. But if i do on a new hardware it show all the regitration fields pre filled but i still have to hit register
>the registration box pops up when you click the shortcut
You captured the wrong process.
Forget the installation. Take the 'Before' /s before clicking the shortcut. Click the shortcut and register the program. Now take the 'After' s/s. My guess is that what you're looking for is going to be in 'HKEY_CURRENT_USER\Software\[Vendor_name]'. If it is, then you'll need to engineer a solution to propogating the changes to each user's profile. If the original package is an MSI, then that's *reasonably* straightforward using Active Setup [shudder] or self-healing [yay!].
Comments:
-
I tried doing this, but did not work for me. would you know what the msi switch would be to active the license? - ITreaper 9 years ago
Comments:
-
Using active setup the autoit script gives random behaviour if we login as restricted user. It works fine with admin privlilages. So to avoid that we can also use following.
You can delete msi default shortcut and create our own shortcut pointing to autoit exe. you can use following script to create autoit exe.
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#region ---Au3Recorder generated code Start (v3.3.7.0) ---
#region --- Internal functions Au3Recorder Start ---
Func _Au3RecordSetup()
Opt('WinWaitDelay',100)
Opt('WinDetectHiddenText',1)
Opt('MouseCoordMode',0)
EndFunc
Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc
_AU3RecordSetup()
Local $sval = RegRead ("HKCU\Software\Tableau","Configured")
if $sval <> "Yes" Then
RegWrite("HKCU\Software\Tableau", "Configured" , "Reg_SZ" , "Yes")
RegWrite("HKCU\Software\Tableau\Registration\Data", "company", "REG_SZ", "ABC")
RegWrite("HKCU\Software\Tableau\Registration\Data", "country", "REG_SZ", "FR")
RegWrite("HKCU\Software\Tableau\Registration\Data", "email", "REG_SZ", "ABC@xya.com")
RegWrite("HKCU\Software\Tableau\Registration\Data", "first_name", "REG_SZ", "ABD")
RegWrite("HKCU\Software\Tableau\Registration\Data", "last_name", "REG_SZ", "XYZ")
EndIf
#endregion --- Internal functions Au3Recorder End ---
Local $Ostype = RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\", "PROCESSOR_ARCHITECTURE")
If $Ostype = "X86" Then
Run('C:\Program Files\Tableau\Tableau Reader 8.2\bin\tabreader.exe')
Else
Run('C:\Program Files (x86)\Tableau\Tableau Reader 8.2\bin\tabreader.exe')
EndIf
_WinWaitActivate("Activate Tableau","")
WinSetState("Activate Tableau" , "" , @SW_HIDE)
Send("{Enter}{Enter}{Enter}")
#endregion --- Au3Recorder generated code End --- - nonearme 9 years ago
[HKEY_CURRENT_USER\Software\Tableau]
[HKEY_CURRENT_USER\Software\Tableau\Registration]
"d9cbf188"="2047339a"
"Pedd591fb"="53f6d915"
[HKEY_CURRENT_USER\Software\Tableau\Registration\Data]
"company"="Acme Butchers"
"country"="GB"
"email"="itsupport@Acme.uk"
"first_name"="IT"
"last_name"="USER"
[HKEY_CURRENT_USER\Software\Tableau\Registration\License]
"c38836f1"="9201f5c7"
[HKEY_CURRENT_USER\Software\Tableau\Tableau Reader 7.0]
"DefaultsInstalled"="7000.12.0803.2200"
[HKEY_CURRENT_USER\Software\Tableau\Tableau Reader 7.0\Settings]
"LanguageCode"="en_US"
"RepositoryLanguage"="en_US"
"CacheSplashID1"=dword:000007d1
"CacheSplashID2"=dword:000000b6
"CacheVersion"=""
"FirstCrashReport"="0"
"Maximized"="1"
"Position"="66,87,834,614"
HKCR registry key added to advertise file extension:
[HKEY_CLASSES_ROOT\TableauReader.PackagedWorkbook.1\shell\open\command]
"command"=hex(7):55,00,45,00,65,00,6d,00,69,00,4c,00,28,00,72,00,46,00,39,00,\
66,00,2c,00,5d,00,63,00,34,00,4e,00,63,00,71,00,3d,00,39,00,54,00,61,00,62,\
00,6c,00,65,00,61,00,75,00,41,00,70,00,70,00,6c,00,69,00,63,00,61,00,74,00,\
69,00,6f,00,6e,00,3e,00,48,00,45,00,54,00,31,00,44,00,55,00,5d,00,4c,00,52,\
00,39,00,6f,00,43,00,48,00,40,00,37,00,75,00,66,00,57,00,27,00,40,00,20,00,\
22,00,25,00,31,00,22,00,00,00,00,00
The vendor MSI does not use advertised shortcuts, in orderto provide support for conditioned shortcut delivery via Property values. Thiswas a barrier to self healing so the first change implemented was to delete thedesktop shortcut and modify the Start Menu shortcut to be advertised. TableauReader’s first run process asks for user registration information, and this populatesHKCU registry keys. The information used for registration was copied from the5.2 package, and the HKCU registry keys captured. The vendor MSI was modifiedby transform to add a USER feature as parent to the vendor features, and theUser feature holds a CurrentUser component which deploys the user registry keyscaptured earlier. The transform was generated by ORCA. Active Setup was analternative solution to deploying the user content, but it was realised that ifa user started the application before logging out and back in again, theregistration page would be displayed. Thus the changes to implement selfhealing were considered a better match to the packaging requirements.
The final change was to update the Upgrade table to includethe Upgrade codes from the two previous versions of Tableau Reader (5.2 and6.1). Since there is no consistency in the Upgrade codes between differentversions, the vendor choice of VersionMin and VersionMax fields is not entirelylogical.
FollowingQA test, it was noted that starting the application by double clicking a .twbxfile would not trigger self healing. To fix this in the simplest manner, aDarwin descriptor was hard coded into the Shell/Open/Command for the .twbx fileextension so that self healing would be triggered by this now advertised entrypoint. (If you are not comfortable with creating Darwin Descriptors then it might be safer to remove the file association from the main install and add it to the self healing process)
Comments:
-
It seems v8 register based on unique hardware ID. if i copy the registration key and everything and import on another computer will ask again for registration and generate a new key. - schenardie 9 years ago
-
Can someone tell me if this process can be used for Tableau Desktop? - Bethore 9 years ago
I have same problem with tableau reader 8.2. I have written autoit script to write following regitry keys and suppress the registration window. I have used active setup to perform this and its working.
You just need to excute the following autoit script using active setup. Just compile and build following script and use the script exe file.
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#region ---Au3Recorder generated code Start (v3.3.7.0) ---
#region --- Internal functions Au3Recorder Start ---
Func _Au3RecordSetup()
Opt('WinWaitDelay',100)
Opt('WinDetectHiddenText',1)
Opt('MouseCoordMode',0)
EndFunc
Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc
_AU3RecordSetup()
RegWrite("HKCU\Software\Tableau\Registration\Data", "company", "REG_SZ", "ABC")
RegWrite("HKCU\Software\Tableau\Registration\Data", "country", "REG_SZ", "FR")
RegWrite("HKCU\Software\Tableau\Registration\Data", "email", "REG_SZ", "ABC@xya.com")
RegWrite("HKCU\Software\Tableau\Registration\Data", "first_name", "REG_SZ", "ABD")
RegWrite("HKCU\Software\Tableau\Registration\Data", "last_name", "REG_SZ", "XYZ")
#endregion --- Internal functions Au3Recorder End ---
Local $Ostype = RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\", "PROCESSOR_ARCHITECTURE")
If $Ostype = "X86" Then
Run('C:\Program Files\Tableau\Tableau Reader 8.2\bin\tabreader.exe')
Else
Run('C:\Program Files (x86)\Tableau\Tableau Reader 8.2\bin\tabreader.exe')
EndIf
_WinWaitActivate("[Class:Qt5QWindowIcon]","",1)
Send("{ENTER}{ENTER}{ENTER}")
Local $PID = ProcessExists("tabreader.exe")
If $PID Then ProcessClose($PID)
#endregion --- Au3Recorder generated code End --- - nonearme 9 years ago
You can delete msi default shortcut and create our own shortcut pointing to autoit exe. you can use following script to create autoit exe.
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#region ---Au3Recorder generated code Start (v3.3.7.0) ---
#region --- Internal functions Au3Recorder Start ---
Func _Au3RecordSetup()
Opt('WinWaitDelay',100)
Opt('WinDetectHiddenText',1)
Opt('MouseCoordMode',0)
EndFunc
Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc
_AU3RecordSetup()
Local $sval = RegRead ("HKCU\Software\Tableau","Configured")
if $sval <> "Yes" Then
RegWrite("HKCU\Software\Tableau", "Configured" , "Reg_SZ" , "Yes")
RegWrite("HKCU\Software\Tableau\Registration\Data", "company", "REG_SZ", "ABC")
RegWrite("HKCU\Software\Tableau\Registration\Data", "country", "REG_SZ", "FR")
RegWrite("HKCU\Software\Tableau\Registration\Data", "email", "REG_SZ", "ABC@xya.com")
RegWrite("HKCU\Software\Tableau\Registration\Data", "first_name", "REG_SZ", "ABD")
RegWrite("HKCU\Software\Tableau\Registration\Data", "last_name", "REG_SZ", "XYZ")
EndIf
#endregion --- Internal functions Au3Recorder End ---
Local $Ostype = RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\", "PROCESSOR_ARCHITECTURE")
If $Ostype = "X86" Then
Run('C:\Program Files\Tableau\Tableau Reader 8.2\bin\tabreader.exe')
Else
Run('C:\Program Files (x86)\Tableau\Tableau Reader 8.2\bin\tabreader.exe')
EndIf
_WinWaitActivate("Activate Tableau","")
WinSetState("Activate Tableau" , "" , @SW_HIDE)
Send("{Enter}{Enter}{Enter}")
#endregion --- Au3Recorder generated code End --- - nonearme 9 years ago