ADN-DevTech / AutoCAD-Net-Wizards

AutoCAD .Net Wizards for Visual Studio
www.autodesk.com/developautocad
Other
96 stars 39 forks source link

Installation error: .net 4.7 is not installed #4

Closed benkoshy closed 6 years ago

benkoshy commented 6 years ago

I tried installing the latest Wizard (2019) but it is coming up with this error when I do in fact have .net 4.7 installed.

any advice much appreciated.

MadhukarMoogala commented 6 years ago

Can you please post the error,sorry I'm not able to find.

benkoshy commented 6 years ago

This is the error I get when I try to run the wizards.

I have 4.7 installed but it's still throwing this error:

4 7error

MadhukarMoogala commented 6 years ago

Please goto Powershell, execute the followin

Get-ChildItem "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\" | Get-ItemPropertyValue -Name Release

If value returned is either of this = 461814,461310, looks like you have an upgraded .4.7 Framwork, may be .NET 4.7.2

At the time of developing this we only had .4.7, I think I 'll have fix my installer code.

Please let me know.

MadhukarMoogala commented 6 years ago

We fixed, please install wizard from - AutoCADNetWizards-2019

benkoshy commented 6 years ago

Thank you for your assistance. The .net error is gone. But Another error is coming up.

image

MadhukarMoogala commented 6 years ago

@BKSpurgeon can you please send me install log ?, and what MSI version are you using. Please check msiexec -?

you can use msiexec /i wizardinstaller.msi /l*v C:\temp\install.log

MadhukarMoogala commented 6 years ago

Some workaround -

Check if this path Exists - "%USERPROFILE%\Documents\Visual Studio 2017\Templates\ProjectTemplates", you can in Command Prompt cd "%USERPROFILE%\Documents\Visual Studio 2017\Templates\ProjectTemplates" or Powershell Test-Path "$env:USERPROFILE\Documents\Visual Studio 2017\Templates\ProjectTemplates"

benkoshy commented 6 years ago

Hi thank you Madhukar

what MSI version are you using?

Windows ® Installer. V 5.0.17134.228

Command Line Issues

This was what i wrote in the command line:

msiexec /i wizardinstaller.msi /l*v D:\DownloadedPrograms\AutoCAD_2019_DotNet_Wizards\AutoCADNetWizards.msi and it didn't work

I tried also the lines you gave me: msiexec /i wizardinstaller.msi /l*v C:\temp\install.log - this doesn't seem to find the installation files. A google search did not yield a ready made copy paste answer. The path does not seem to exist. I've navigated to the windows logs path as below:

image

Unfortuantely the path does not exist.

cd "%USERPROFILE%\Documents\Visual Studio 2017\Templates\ProjectTemplates

But on the other hand, if i manually navigate to the visual studio folder, it most definitely exists.

Please advise whether I should still run in admin mode?

Please advise.

MadhukarMoogala commented 6 years ago

Hi,

Can we have call, I would like fix this as soon as possible ? Please let me know.

benkoshy commented 6 years ago

Hi Madhukar

I managed to get the install log so you can see it below.

I can certainly call you or vice versa. I will PM you my phone no.

In any case here is the install log:

install.log

MadhukarMoogala commented 6 years ago

@BKSpurgeon , I made some changes. Please download the latest wizard , uninstall previous and execute using msiexec /i in admin. AutoCAD2019Wizard

benkoshy commented 6 years ago

Success!

This was the result.

image

This was the what I typed in the command line (for those who may want to quickly come to the same solution in the future)

msiexec /i C:\Users\benko\Downloads\AutoCAD_2019_dotnet_wizards\AutoCADNetWizards.msi /l*v d:\DownloadedPrograms\install.log

(You will have to of course change the locations to suit your file locations)

And in order to install successfully, you'll have to run as an admin:

image

benkoshy commented 6 years ago

Thank you sir!