How to remove Visual J# .NET from installation package (MSI)

Posted by Narendra Tiwari on Geeks with Blogs See other posts from Geeks with Blogs or by Narendra Tiwari
Published on Fri, 29 Jun 2012 03:44:07 GMT Indexed on 2012/06/29 9:16 UTC
Read the original article Hit count: 309

Filed under:

While creating Web Setup, Visual J# .NET automatically included in the MSI package.
When we install this MSI on a server machine which does not have Visual J# .NET installed, installer prompts a message to install Visual J# .NET.

Usually we dont need to install Visual J# .NET and it can be avoided to add into installer. To do this:-

- Open setUp project (.vdproj) file in a text editor.
- Find below section for LauchCondition for Visual J# .NET and remove it.
"LaunchCondition"
        {
            "{836E08B8-0285-4809-BA42-01DB6754A45D}:_237E8F40F1A4464FBD27D8992CFDD623"
            {
            "Name" = "8:Visual J# .NET"
            "Condition" = "8:REQ_VJSLIB_VER_PRESENT = \"TRUE\""
            "Message" = "8:[VSDVJSMSG]"
            "InstallUrl" = "8:http://msdn.microsoft.com/vjsharp"
            }
            "{836E08B8-0285-4809-BA42-01DB6754A45D}:_DF1CA2119CD64D4B94CE993CF1624ACE"
            {
            "Name" = "8:IIS Condition"
            "Condition" = "8:IISVERSION >= \"#4\""
            "Message" = "8:[VSDIISMSG]"
            "InstallUrl" = "8:"
            }
        }
- Save .vdproj file and Build again to generate new MSI installer.
- Install the MSI on a new machine again where J# does not exist, It should not prompt the same message to install J#.

 

 

© Geeks with Blogs or respective owner