Windows 8 .net feature - Advanced Installer Community
muhammad.farooq
Posts: 1
Joined: Wed Jul 24, 2013 8:25 am

Windows 8 .net feature

I have created an installer which installs application that requires .net 3.5 to run. I have added the appropriate prerequisites in installer to install .net version. Everything worked fine except on Windows 8. Windows 8 have got a feature to install .net 3.5. I added a windows feature in prerequisite to enable this feature.

Now when installer runs, it enables the feature but fails on regasm command i have added for some of my assemblies. Error in log is as below "Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: RegasmMyAssembly, location: , command: "C:\Program Files (x86)\Product\myassembly.dll" /codebase /silent ". However, if i run the installer again it works fine. Tried checking the regasm search and version present. Everything seems fine.

Any ideas what I might be missing?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Windows 8 .net feature

Hello and welcome to Advanced Installer forums,

I'm afraid I don't fully understand your scenario. Are you using a custom action (to launch the Regasm tool) which fails when .Net Framework 3.5 is installed using our "Windows Features" support? If this is the case, can you please add your custom action after "Install Execution Stage -> Finish Execution -> InstallFinalize" standard action and see if the behavior still persist? If so, can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”