Moonshine-IDE / Moonshine-SDK-Installer

To take full advantage of Moonshine IDE you will need third party SDKs like Apache® Flex or Apache® Royale. In order to make it easier for you to setup the required SDKs, we created the Moonshine SDK Installer.
https://moonshine-ide.com/download-sdk-installer/
Other
8 stars 2 forks source link

MSVCR100.dll Error for SlikSVN #3

Open JoelProminic opened 5 years ago

JoelProminic commented 5 years ago

I noticed this error yesterday with SlikSVN installed from Moonshine SDK Installer. I saw this error when I checked an svn checkout command from the command line:

The program can't start because MSVCR100.dll is missing from your computer. Try reinstalling the program to fix this problem.

After some investigation, I found that the "MSVCR100.dll" error was caused because the Microsoft Visual C++ Redistributable Package was required: https://social.technet.microsoft.com/Forums/windows/en-US/52f0bd37-9a08-41b6-bb43-fa01ef3ebc4a/msvcr100dll-is-missing?forum=w8itprogeneral

I tried the installer from here, and that resolved the error: https://www.microsoft.com/en-us/download/details.aspx?id=14632 Direct link: https://download.microsoft.com/download/3/2/2/3224B87F-CFA0-4E70-BDA3-3DE650EFEBA5/vcredist_x64.exe

(Note that this is the 2010 version. I had a hard time figuring out which version I was supposed to use, and finding a proper download link from Microsoft.)

I think we would need to trigger the above installer from Moonshine SDK Installer if we want to keep this solution. However, if we need to do this, I think we are better off just triggering the SlikSVN installer instead (which may install other dependencies). The external installer should be launch in with similar behavior to what we use for Command Line Tools on macOS.

rat-moonshine commented 5 years ago

However, if we need to do this, I think we are better off just triggering the SlikSVN installer instead (which may install other dependencies). The external installer should be launch in with similar behavior to what we use for Command Line Tools on macOS.

In case of Command Line Tools - we starts a polling running a particular command to check if the Command Line Tools have installed to the system. We also know which particular location Command Line Tools is suppose to get install.

In case of triggering SlikSVN it'll have following complexities, however:

  1. Downloading from a remote mirror
  2. Triggering the installer (we may need to ensure separate new process to download installer and then trigger/integration process)
  3. Starts a polling, I'm not sure how we want to test an installation complete - running something like 'svn --version' command and check output (?)
  4. Since SlikSVN installer, user can choose any location to install to - I'm not sure how we want to determine where the application installed
JoelProminic commented 3 years ago

I did a fresh install of all SDKs from Moonshine SDK Installer today on a fresh Windows VM, and I noticed a similar error showing up repeatedly:

image

The code execution cannot proceed because MSVCR100.dll was not found. Reinstalling the program may fix this problem

I noticed a similar error here: https://github.com/prominic/Moonshine-IDE/issues/449#issuecomment-474624805

Each time the error triggers, I get 4-5 popups, so this is really annoying.

I tested the command directly, and got the same behavior:

C:\MoonshineSDKs\SVN\slik-svn-1.9.7\bin\svn.exe --version

I'd like to at least investigate this further before the 3.7.0 release, since this is a really annoying bug which makes SVN useless. If it will be a long fix, we can bump it to a later release.

rat-moonshine commented 3 years ago

While this C:\MoonshineSDKs\SVN\slik-svn-1.9.7\bin\svn.exe --version worked properly on my Windows system it produced many different information which is irritating.

I see C:\MoonshineSDKs\SVN\slik-svn-1.9.7\bin\svn.exe --version --quiet instead provides the information minimal we needs.

JoelProminic commented 2 years ago

I see SlikSVN has been updated to 1.14.1, so we could try switching to the new version: https://sliksvn.com/download/

We should use the 64-bit version. I see that this is provided as a zip.

rat-moonshine commented 2 years ago

A quick note on why we chose to distribute SlikSVN archive through Moonshine website - the archive SlikSVN distributes contains a .msi installer. Thus, at a point we decided to distribute an installed directory instead that fits our design of MSDKI, from Moonshine website.

If we want to upgrade the distribution version, then we probably need to continue on same path.

rat-moonshine commented 1 year ago

Meanwhile the SlikSVN distribution version updated to v1.14.2.

JoelProminic commented 1 year ago

I am still getting many popups from SlikSVN, but the message is different: image

The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem.