Admin Image Installation issues with Toolbox

I cannot be the only person having issues with major releases and upgrades with Toolbox. Since 2012 its been an absolute nightmare.

Major release

1) Directly prior to installation I upgrade TB to the latest version using the update Toolbox database utility

2) Within the image I have TB going to "C:\\Solidworks Data", then I have a program running afterwards that deletes the local TB and repoints the registry to the server location.

When the user opens SW they are prompted with this message twice (it always happened in 2012, but since going to 2013 it started happening twice)

SP upgrade

1) Since the users are all pointed to the server install of TB when doing an upgrade, I have to run a program at the beginning that creates a local folder "C:\\Solidworks Data", then removes the TB registry entry and points it back to the local PC.

2) I use the same After program to remove the TB it just installed locally and points the registry to the server location.

Just like above the user is prompted with the same message twice:

If I do not follow this every time for each major release and SP all the users installation will fail and with over 200 users trying to install SW it becomes a real hassle when installation problems occur.

Our VAR told me they thought after the TB is upgraded to the latest version that everyone else that is installing that version (Assuming the image is pointing to the server now) the install would see the updated TB and just ignore it. I tested that and every person on hte image tries to update the TB that was already updated and it fails. Just removing TB like I did above gets around the problem.

We had consider not using TB anymore at all and just go strictly Logopress's TB. I cannot imagine I am the only person having to work around this issue. Has anyone else seen this issue and if so what did you do or is SW even aware of the chaos this is causing?

SolidworksAdministration
Answers 12
MA
MA 2013-12-05 Best Answer

nope - issues here too...2013 SP5

I like what you did/are doing but I also try to keep the user interaction as little as possible.

right now, at about 50%, we get a "Toolbox Updater" pop-up - that will stall the installation until the user "X" the window - then the install continues along fine. VAR hasn't found anythng to help so far.

SF
SF 2013-12-05

Thanks for your reply!

I have never seen that message before. But then again when I try to set the image to the proper TB path it always fails. So if that happens to be what your doing, it won't work for me.

I don't understand why the message even appears once, much less twice. I assume the install is noting the DB changed from local to server some where and if I knew where I would have the reg entry nixed so the user does not have to click "No" to that message every time. Because obviously you know they always click "Yes", because they don't read the message or any instructions given. Then I get the call saying they are getting a message about a DB missing... I ask them if they answered "yes" to the message and the answer is always the same "I never seen that message before!" ... "yeah sure"...

I am like you the less the user has to do the better off we are all going to be in the end.

MA
MA 2013-12-05

Can you set the Option Editor to NOT install TB, and then add the TB path to the registry after the install?

(i think i tried this and couldn't get it to work)

IMHO - the install really should be "let me install toolbox, oops wait! its already here! then i'll just move along now"

SF
SF 2013-12-06

I think the reason why you cannot get that method to not work is because even if you turn the add-in off you still have to set the path for the Hole Wizard. You have no control over whether that is installed.

I am completely in agreement with you Mark!.. if TB gets installed by myself prior to installation and get upgraded to the latest version all other installation should ignore said TB location and move on to the next piece of the install. Such a big PITA  to have devise this ways to get around the issue. Wish I could find that message I listed above and remove it from appearing. I might try and search that message on a test laptop we own here and see if I can figure it out... might be as easy as how I found ALL the Settings Options in SW 2013.

MA
MA 2013-12-18

after speaking with my VAR - the UPDATEBROWSERDATA error is due to the Toolbox being in use...

There is a LDB file or ‘lock database file’ when accessing any MDB file, Windows makes this file to prevent others from making changes to the MDB file. Please ensure no one is using toolbox at the time of install or upgrade and then delete the LDB file. Then try the upgrade\install again. That should do the trick to avoid installing locally, but it puts your whole toolbox at risk if someone is still accessing it.

So i'm still not sure how this is supposed to work...what they want me to do is verify none of the 65 seats of Toolbox are in use during the 30-45 minutes it takes to install? or do installs after hours? I don't get it...

not to beat the proverbial dead horse - but this is seemingly so simple - "is toolbox installed somewhere and the correct version? yes? - then continue with the install and do nothing to the client machine other than point to the network location"

SF
SF 2013-12-18

This just proves that VAR's and IMHO some Solidworks Support Techs are not working in the real world of 200+ seats sharing 1 Toolbox location. Its not easy to stop the one guy that gets to work early in the morning to install SW and then starts using TB before anyone arrives. In turn he screws the rest of the users trying to install SW with the way SW has their installation designed... this is BS.

If I the CAD Admin has already upgraded the TB and anyone using an older version cannot use said TB until the upgrade, why in the heck is the install trying to upgrade it again??? It should see its the same version and ignore it.... if the install cannot manage this basic feat in installing, they need some new programmers or an installation method with someone from the real world of installing more than their own PC.

I have run into the LDB file in the past and sometimes its just not as "EASY" as the VAR's point out. Shutting down the add-in or even SW will not release the LDB file. I have had to force users to reboot their PC to release the LDB file. Its a waste of their time, my time and the person trying to install.

Since Solidworks has yet to hear this cry for help (HELP HELP!!) on the Toolbox side of the installation process its easier to just point all the users away from the TB, let the Admin upgrade it separately (Before\After), then point the users back to the TB after the installation is done.

I worked for a VAR for 8 years... I know for a fact 95% of all techs both at SW and at every VAR don't live in the real world and nearly none of them use the Admin Image to install with, so they cannot support it when guys like me come asking questions... of course I was the in that 5%, because I was one of those that used the image to install with for a standalone seat of SW... but I was in the 95% that didn't live in the real world when it come to stuff like this among other things... now its just irritating since I am the customer.

<em>"is toolbox installed somewhere and the correct version? yes? - then continue with the install and do nothing to the client machine other than point to the network location"</em>

Ask your VAR to prove this out with you standing over their shoulder.... you cannot just tell the install not to do anything... obvisously they have never used the Admin Image installation other than just looking at it... doesn't do us any good if they don't truly understand what they are looking at... ARGGGH!

Sorry for my rant... I got the same reponse from my VAR as you did... I think its a standard reply from all VAR's\SW today. They might have a list of standard replies since I left... lol

Thanks for the update Mark!

MA
MA 2013-12-18

Scott-

in the Options Editor - have you tried checking Toolbox, but unchecking all the hardware?

SF
SF 2013-12-18

Yes, and it still tries to update the DB to the latest version of SW when you are doing a new install. When your doing an upgrade it still looks at the TB Database location and if its being used it crashes the install... even though there is no upgrade to the DB needed.

MA
MA 2013-12-18

dang it...!

SF
SF 2013-12-18

Thats why I run a program before and and program after the installation.

Here is the code for my "before.bat" file

REM This routine is to be run before the install<p>REM Make Local TB directory and set Registry to match</p><p>REM</p><p>mkdir "C:\Solidworks Data" </p><p>REM</p><p>REM Change the toolbox location</p><p>REM Cannot change a registry key, so first delete it</p><p>REG DELETE "HKCU\Software\Solidworks\Solidworks 2013\General" /v "Toolbox Data Location" /f</p><p>REM Then recreate it</p><p>REG ADD "HKCU\Software\Solidworks\Solidworks 2013\General" /v "Toolbox Data Location" /t REG_SZ /d "C:\Solidworks Data"</p>

Here is the code for my "after.bat" file

<p>REM This routine is to be run after the install</p><p>REM delete SolidWorks Data directory and all of the subs</p><p>REM</p><p>del /Q /F /S "C:\Solidworks Data\*.*" </p><p>REM</p><p>REM Change the toolbox location</p><p>REM Cannot change a registry key, so first delete it</p><p>REG DELETE "HKCU\Software\Solidworks\Solidworks 2013\General" /v "Toolbox Data Location" /f</p><p>REM Then recreate it</p><p>REG ADD "HKCU\Software\Solidworks\Solidworks 2013\General" /v "Toolbox Data Location" /t REG_SZ /d "<a href="" data-community-id="1">\\evvnas002\plant\SW_Toolbox</a>"</p>

This is what I have to do to force all the users around this issue at every install Service Pack or major release.

MA
MA 2013-12-18

then in OE - you set it to install TB in the C:\SolidWorks Data folder?

SF
SF 2013-12-18

The before bat file forces the install to the local drive, but the after bat deletes the local and points it back to the server.... there is only one problem doing it like this. Each user will get a message (in 2013 they will get 2 of the same message) and they will have to select either "Yes" for the new location (local install) or "No" for the server location you just gave it.

The answer is "No", but like most click happy people "Yes" is the answer and you can guess what happens from there... they will get the Databasei s missing message and its a ordeal to have them fix it... I put the answer to this message in the instructiosn i send out, but most people don't read that either, so I created a draft email that I forward everyone when this happens.

If you the admin has to update the toolbox because its a major release,  I do it the night before the big install... no one can access the TB that night, but honestly who wants to when it takes 3 minutes to find and pull the info from the database when they are working from home...

comment imagecomment image