10/29/2024 11:58:33 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss installing SalesLogix and general installation topics. View the code of conduct for posting guidelines.
|
|
|
|
How to repair a missing SENDSLX button
Posted: 01 Mar 07 9:52 AM
|
fiogf49gjkf0d After upgrading 500 clients from 6.2.4 to 6.2.6 most everyone lost their SENDSLX button. i had to release a quick fix. I know Sage had provided a .bat fix that doesn't always do the trick so this is what i came up with. Users can repair it themselves by running the EXE from the network using the following AutoIt code compiled to exe.
All you need to do is install AutoIt v3, paste the following code in a new .au3 file, modify the $Password variable, and modify the $file (Logfile) path. Build as EXE and distribute a link to the users after testing.
; ; AutoIt Version: 3.0 ; Language: English ; Platform: WinXP - SMART\Wholesale image ; Author: David Henry (david.henry@ncmc.com) ; Orig. Build 10-17-2006 ; EXE location: ; ; Script Function: ; To repair missing SENDSLX button ; Copies slmn.dll to system32 folder, closes Outlook, re-registers Outlook integration dll's. ; Version 1.0 10-17-2006 Original Build ; Version 1.1 3-1-2007 Elevated privlages only for registering DLL steps. Otherwise script may fail. ; Added version number to log file.
; Verify only one copy of the script is running at a time. $g_szVersion = "RepairMissingSENDSLXbutton" If WinExists($g_szVersion) Then Exit AutoItWinSetTitle($g_szVersion)
;Variables $SalesLogixDirectory = @ProgramFilesDir & "\SalesLogix\" $Password = "LocalAdminPassword" $MissingSendSLXVersion = "Version 1.1"
; Prompt the user to run the script - use a Yes/No prompt $answer = MsgBox(4, "National City Mortgage - Repair Missing SENDSLX button. Built by David Henry.", "This script will attempt to repair your missing SENDSLX button. PLEASE CLOSE OUTLOOK AND SALESLOGIX BEFORE CLICKING YES! Are you ready?") If $answer = 7 Then Exit EndIf
FileCopy( $SalesLogixDirectory & "slmn.dll", @SystemDir) ProcessClose( "Outlook.exe") ProcessClose( "SalesLogix.exe") Sleep( 3000) RunAsSet( "Administrator", @ComputerName, $Password, 1) RunWait(@ComSpec & " /c regsvr32 slxab32.dll", $SalesLogixDirectory, @SW_MAXIMIZE) RunWait(@ComSpec & " /c regsvr32 slmn.dll", $SalesLogixDirectory, @SW_MAXIMIZE) RunAsSet()
; Instruct user to see if SENDSLX button is available. MsgBox(4096, "Complete!", "Open Outlook and check to see if you are now able to see the SENDSLX button. If not, REBOOT and try running the script again.")
$file = FileOpen("\\servername\sharename\Script_Logs\Repair Missing SENDSLX button.txt", 9) If $file = 1 Then FileWrite($file, @MON & "/" & @MDAY & "/" & @YEAR & @TAB & @HOUR & ":" & @MIN & @TAB & $MissingSendSLXVersion & @TAB & @ComputerName & @TAB & @UserName & @CRLF) FileClose($file) EndIf
Exit |
|
|
| |
| |
| |
|
Re: How to repair a missing SENDSLX button
Posted: 17 Apr 07 1:35 AM
|
A quick question David:-
This fix was applied by you when 500 clients of yours loss the SENDSLX button. Can you please let us know if same would apply if a particular user losses his button? Also in that case can you suggest what should be value and path for $Password variable and $file (Logfile) path?
Thanks in advance!
-VIMAL |
|
|
|
Re: How to repair a missing SENDSLX button
Posted: 17 Apr 07 7:44 AM
|
Actually, I had the users kick off the EXE individually on an as needed basis - I did not push this out through SMS or altiris. A missing SENDSLX button is a common problem and sometimes it disappears for no reason, too. This script complied to EXE on a network drive accessible to the users will provide them the ability to repair the missing button themselves at any time - especially after the upgrade to 6.2.6, which caused everyone to loose the SENDSLX button. As I mentioned in my original thread: "Users can repair it themselves by running the EXE from the network using the following AutoIt code compiled to exe."
The $Password variable would be the local administrator password for the workstation(s) running the script.
The $file variable would be where you want a log file placed on the network which would write the local workstation Month, Day, Year, Hour, Minute, Computer Name and User Name which ran the script. |
|
|
| |
| |
|
Re: How to repair a missing SENDSLX button
Posted: 02 Jan 08 4:06 PM
|
Great fix! Specially when updating a good number of clients.
I've got a problem with an install where the clients have Outlook 2002, using the Word editor... we had issues with SLX 6.2 and would just recativate the disabled dlls. Now with the upgrade to 7.2 the dll's don't show as disabled at all and of course the Send SLX button is not shown. Has anyone experienced this behavior?
Any workarounds? |
|
|
| |
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|