Page 1 of 1

Cannot create project in Visual Studio 2019

Posted: Mon Oct 12, 2020 9:09 am
by KrunoslavKanjuh
Hi,

I'm install extension in VS2019. When I try to create new project, I get bellow error. Also, I install latest version with all components.

Error while creating setup project: Unable to load DLL 'IaVsExt.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Could you please help me with this?

Regards,
Kruno

Re: Cannot create project in Visual Studio 2019

Posted: Mon Oct 12, 2020 10:53 am
by FrancescoT
Which is your exact Visual Studio 2019 version (ex. 16.7.5)?

Did you install the extension from the Visual Studio MarketPlace, or did you use our trial installer as available from: https://www.installaware.com/downloads-product-downloads.htm?

Re: Cannot create project in Visual Studio 2019

Posted: Tue Oct 13, 2020 1:45 am
by KrunoslavKanjuh
Hi Francesco,

I first install IA from trial installer and active using setup downloaded from www.installaware.com/myinstallaware. Then install extension using extension dialog in VS2019.

My version of VS2019 is 16.7.5

Regards

Re: Cannot create project in Visual Studio 2019

Posted: Tue Oct 13, 2020 11:12 am
by FrancescoT
It's not clear to me why you didn't install the VS Extension just using the IA trial installer.

Of course, our Extension can be also installed from Visual Studio (Visual Studio MarketPlace). But this is generally not necessary when IA was already installed.

So, unless the "Visual Studio add-in" feature component doesn't get deselected from setup wizard of the IA trial installer, this also includes the installation of the Visual Studio Extension (by default).

At any rate, I suspect that probably the Extension didn't install properly.

Due of this, I suggest you to proceed as follow:

1. Uninstall the VS Extension from Visual Studio.
Launch the VS 2019 IDE, Extensions menu -> Manage Extensions. Then select to uninstall the Extension.
Vs_manage_ext.png
Vs_manage_ext.png (212.22 KiB) Viewed 6575 times

*follow the on-screen instruction to complete the uninstall...you will need to close and restart VS to complete the process. Once the Extension removal has completed, Have care to close the VS IDE before proceeding with the next point.

2. Modify your current IA product installation and Install the VS-Extension.
Run the IA X12 trial installer. Because on your machine IA was already installed, the setup will run in maintenance mode. Select "Change features" from the wizard, then next.
setup.png
setup.png (108.13 KiB) Viewed 6575 times

Scroll down the features list, locate the "Visual Studio Add-in" component, choose to install it, and then Next to confirm.
component_tree.png
component_tree.png (271.87 KiB) Viewed 6575 times

Once the IA installer has completed (You may need to apply once again your personal license file at the end of the process), launch Visual studio 2019, and finally check if the problem is now fixed.

Re: Cannot create project in Visual Studio 2019

Posted: Tue Oct 13, 2020 12:37 pm
by KrunoslavKanjuh
Hi Francesco,

When I try to change installation, I don't see this add-in (image below).

2020-10-13_18-59-52.png
2020-10-13_18-59-52.png (172.31 KiB) Viewed 6569 times


I uninstall IA X12 and try again to install but still I don't see this add-in. When I try to install on my private laptop then I see add-in.
I before have installed IA X11. It may be in some folder exists old installed settings and this block to I see VS add-in?

Regards

Re: Cannot create project in Visual Studio 2019

Posted: Tue Oct 13, 2020 12:56 pm
by FrancescoT
Such "Visual Studio Add-in" component, it will be only listed if you are installing on a machine where VS is already installed as well.

Are you installing on the same machine where you have VS 2019 installed?

Re: Cannot create project in Visual Studio 2019

Posted: Tue Oct 13, 2020 1:11 pm
by KrunoslavKanjuh
On both laptops I have installed VS2019. Only difference is that on private I have Community version and on company I have Enterprise.
On company laptop not work. I have full admin rights.

Re: Cannot create project in Visual Studio 2019

Posted: Wed Oct 14, 2020 10:52 am
by FrancescoT
The VS Edition can't be the problem. I also have the Enterprise edition and I never had any issue to install the Extension.

I cannot say for sure, but it may possible that your issue could be related with the system account of your company laptop.

At any rate, I may suggest you to do another try as follow:

1. Remove the Extension from VS 2019 as I described previously.
2. Uninstall IA X12 from your system.
3. Under "C:\ProgramData", check for the presence of a folder named "miaXXXX.tmp" (ex. miaA2BF.tmp). Delete the folder if present.
4. Restart your system.
5. Launch the Visual Studio 2019 IDE, and install the "InstallAware Extension" from Visual studio (Extensions menu -> Manage Extensions). Follow on-screen instruction to complete the installation of the Extension (you will need to close and restart VS to complete the process).
6. Launch the Visual Studio 2019 IDE once again, click the IA icon on the "IA Extension toolbar", and then select YES to confirm the installation as requested by the message-box.
Install_ext.png
Install_ext.png (60.43 KiB) Viewed 6547 times

(*) The X12 install process will start automatically once the download is completed.
7. Finally proceed with the X12 install process as you usually do, and have care to select to install the edition that matches your licensed edition.

I just tested the above steps on a test machine, and both "IA and Extension" were installed successfully.

Re: Cannot create project in Visual Studio 2019

Posted: Thu Oct 15, 2020 3:49 pm
by KrunoslavKanjuh
Hi Francesco,

This work for me. Thank you.

Regards

Re: Cannot create project in Visual Studio 2019

Posted: Fri Oct 16, 2020 6:44 am
by FrancescoT
Happy you solved!