cryinkfly / SOLIDWORKS-for-Linux

This is a project, where I give you a way to use SOLIDWORKS on Linux!
MIT License
387 stars 37 forks source link

Installation hangs up - VBA 7.1 (kb2783832) *solved* #3

Closed cryinkfly closed 2 years ago

cryinkfly commented 3 years ago

The problem at the time is, that the installation hangs up!

Installation

019c:fixme:wininet:InternetSetFilePointer (00000004 0 00000000 0 1): stub 019c:fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 25000 019c:fixme:wininet:InternetSetFilePointer (00000004 0 00000000 0 1): stub

cryinkfly commented 3 years ago

Ok I have found that windows user has also some problems with the installation! πŸ˜…

cleveHEX commented 3 years ago

Have you tried installing the executable manually? If I remember correctly I tried, but it errorred, but I did not manage to get as far as you. I was thinking of putting the product key to registry prior installation, so less pain in using that window is involved. Would you mind contacting via some instant messager?

cryinkfly commented 3 years ago

I have tested the installation of VBA 7.1 manually with a workaround from the support of SOLIDWORKS, but this solution doesn’t work for me.

What do you mean with putting the product key to registry prior installation? 😊

Which instant messager? πŸ˜… Zoom or what?

cryinkfly commented 3 years ago

Did you mean this one here: https://forum.solidworks.com/thread/230350

poohzaza166 commented 3 years ago

have you install ie8

cryinkfly commented 3 years ago

Yes I have also tested this with ie8, but the problem is the vba 7.1 πŸ˜•

poohzaza166 commented 3 years ago

try installing vb6 in wine tricks and vcrun6 because you are stuck on visual basic because excel and word support in solidwork

cryinkfly commented 3 years ago

Yes I know, but vb6 and vcrun6 are to old for this one. :-(

poohzaza166 commented 3 years ago

how about intsalling vb7 manually

cryinkfly commented 3 years ago

I tried but it crashed immediately when I will install this with the msi installers.

poohzaza166 commented 3 years ago

wine version? i think you need to copy the dll manually

cryinkfly commented 3 years ago

My wine version is 6.14. :+1:

i think you need to copy the dll manually

This is a good idea, but also difficult. :-(

Dyllan2000alfa commented 3 years ago

Currently trying to figure out why the installer isn't starting on my laptop, but in the mean time I extracted the vba 7.1 msi file and setup the dll's in the structure that there installed to make manual dll installation easier. I attached a zip with it if anyone wants to see if a manual install fixes the problem

vba7.1.zip

poohzaza166 commented 3 years ago

Currently trying to figure out why the installer isn't starting on my laptop, but in the mean time I extracted the vba 7.1 msi file and setup the dll's in the structure that there installed to make manual dll installation easier. I attached a zip with it if anyone wants to see if a manual install fixes the problem

vba7.1.zip

did you install geko and wine from wine hq or just from your distro

Dyllan2000alfa commented 3 years ago

wine was installed from wine hq, no idea about geko. If I remember correctly wine just asked if I wanted to install geko after the solidworks install was started

Edit: was using geko from wine the issue was wine tools wasn't installing anything because the visual runtime wasn't passing the check sum and it would just error out there. Though I still can't test the manual VBA installation since my SOLIDWORKS license expired and my school won't be handing out new ones for 2 weeks.

Zorgodon commented 3 years ago

Still no solution in sight...

cryinkfly commented 3 years ago

Unfortunately, it still takes a while, but at least I managed to get two other CAD programs running! πŸ˜‰

cryinkfly commented 2 years ago

I'm going to try another way to testing.

Bildschirmfoto_2021-09-23_14-40-09

Bildschirmfoto_2021-09-23_15-18-59

... and then I make a upgrade to a newer version!

Dyllan2000alfa commented 2 years ago

Think I fixed the VBA 7.1 (kb2783832) issue. I was able to extract the msp file, it contained a single dll specifically VBE7.DLL I replaced the dll of the same name that was in the vba7 msi file and the solidworks installer continued without issue. I attached an updated zip file if someone else wants to test it. All you need to do is copy the contents of the zip to the wine prefix solidworks is in and all the vba7 files for English will be installed. vba7.1.zip

cryinkfly commented 2 years ago

Okay I'll check it out tonight! :1st_place_medal:

Dyllan2000alfa commented 2 years ago

Hopefully it works, I tried it again this morning with a new wine prefix and it's not working, though the original wine prefix I got it working on had no issues.

cryinkfly commented 2 years ago

I have tested this on my system, but I it doesn’t work for me! πŸ™

Bildschirmfoto_2021-09-30_17-35-13

Dyllan2000alfa commented 2 years ago

Okay figured out what I did that made it work and can now recreate it working in a new wine prefix. Dragging the files from the zip I made to the C drive does install VBA, but solidworks doesn't think it installs. So after copying the files I ran this command "msiexec /p vba71-kb2783832-x64.msp REINSTALL=ALL REINSTALLMODE=omus /qn" This has the opposite effect where solidworks thinks VBA is installed, but VBA isn't actually installed. So by combining these two I can install VBA and make sure solidworks knows VBA is installed.

cryinkfly commented 2 years ago

Okay I have tested this now and it works for me!!! :+1: Bildschirmfoto_2021-10-02_21-09-10

Bildschirmfoto_2021-10-02_19-33-57

Bildschirmfoto_2021-10-02_19-34-45

... but here I must kill the installation with my task-manager, because the installer hangs up!

Bildschirmfoto_2021-10-02_19-40-35

... and then I have restarted the installation and I was able to continue! πŸ˜€

Bildschirmfoto_2021-10-02_20-55-18

https://user-images.githubusercontent.com/79079633/135727119-e8e3a84b-7f47-4ff8-a465-83e502499071.mp4

But we must also install Solidworks with another setup.exe!

Bildschirmfoto_2021-10-02_21-10-57

Bildschirmfoto_2021-10-02_21-16-16

Bildschirmfoto_2021-10-02_21-16-34

Bildschirmfoto_2021-10-02_21-16-54

Bildschirmfoto_2021-10-02_21-17-11

Bildschirmfoto_2021-10-02_21-18-05

Bildschirmfoto_2021-10-02_21-18-14

Bildschirmfoto_2021-10-02_21-18-22

Bildschirmfoto_2021-10-02_21-18-29

Bildschirmfoto_2021-10-02_21-19-09

Bildschirmfoto_2021-10-02_21-19-22

Bildschirmfoto_2021-10-02_21-20-58

https://user-images.githubusercontent.com/79079633/135729147-0f684eda-d0f2-42ab-a347-33414a375476.mov

Bildschirmfoto_2021-10-02_21-09-10

The next one is I must change my script! :+1:

Bildschirmfoto_2021-10-02_20-08-56

Shadow-Hunt3r commented 2 years ago

I know this issue is closed but does anyone know how to solve solidworks soft crashing whenever i put in the serial code on my end? (γƒΌγƒΌ; )

orabeidm commented 4 months ago

I'm not that good at linux and I need help with step-by-step instructions.

lhow commented 4 months ago

Is the question about using SolidWorks in Linux still going on? The documentation is based on Wine 6.x. Wine 9.x is already in use.

orabeidm commented 4 months ago

I tried to install it recently, but it didn't work out.