Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
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!
 Administration Forums - Installation
Forum to discuss installing SalesLogix and general installation topics. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Installation | New ThreadView:  Search:  
 Author  Thread: How to repair a missing SENDSLX button
David Henry
Posts: 207
 
How to repair a missing SENDSLX buttonYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: How to repair a missing SENDSLX buttonYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Mar 07 2:49 PM
fiogf49gjkf0d
Nice. The help desk here could really use this. But what is AutoIt and how does one get it?

Thanks,
John G.
[Reply][Quote]
David Henry
Posts: 207
 
Re: How to repair a missing SENDSLX buttonYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Mar 07 3:23 PM
fiogf49gjkf0d
You can download AutoIt for FREE! Just go to their website. AutoIt is a FREE Windows automation language.

http://www.autoitscript.com/
[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: How to repair a missing SENDSLX buttonYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Mar 07 5:49 AM
fiogf49gjkf0d
Thanks, David!

John G.
[Reply][Quote]
Vimal-The Dude
Posts: 6
 
Re: How to repair a missing SENDSLX buttonYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
David Henry
Posts: 207
 
Re: How to repair a missing SENDSLX buttonYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: How to repair a missing SENDSLX buttonYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Apr 07 2:36 PM
fiogf49gjkf0d
With David's permission, this post has now been converted to a full article.

http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=94

Thanks David!
[Reply][Quote]
David Henry
Posts: 207
 
Re: How to repair a missing SENDSLX buttonYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Apr 07 3:00 PM
fiogf49gjkf0d
I have updated the code by modifying my original post...and Ryan has updated the article. See above.
[Reply][Quote]
Ron Buchanan
Posts: 72
 
Re: How to repair a missing SENDSLX buttonYour last visit to this thread was on 1/1/1970 12:00:00 AM
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?
[Reply][Quote]
David Henry
Posts: 207
 
Re: How to repair a missing SENDSLX buttonYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Jan 08 8:57 AM
The work around is to disable the Word editor.
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/22/2024 12:32:08 AM