This website uses cookies. By clicking OK, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
mvijaykumarredd
Pilgrim
Oct 16, 2017
03:51 AM
I created Visual Studio 2013(Professional) Windows Application with .Net 4.5 frame work. In This solution I added new class file Installer class file. Sample Code: namespace WindowsFormsApplication1 { [RunInstaller(true)] public class AddinInstaller : Installer { #region Base Implementation private System.ComponentModel.IContainer components = null; protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } private void InitializeComponent() { components = new System.ComponentModel.Container(); } #endregion public AddinInstaller() { InitializeComponent(); } public override void Install(IDictionary stateSaver) { try { base.Install(stateSaver); Debugger.Launch(); Assembly Asm = Assembly.GetExecutingAssembly(); FileInfo asmFile = new FileInfo(Asm.Location); } catch (InstallException ex) { throw new InstallException(ex.Message); } catch { throw new InstallException("Error installing addin!"); } } public override void Uninstall(IDictionary savedState) { try { } catch { } base.Uninstall(savedState); } } } Now I created new Install Shiled Project with 2015LE with .Net 4.5 frame wok. I checked the Installer Class checkbox on the COM & .NET Settings tab on the Properties window of the Primary Output file. Once done build and I am installing this setup. I got This error "1001". Please provide solution for this one. Thank you
... View more
Labels
Oct 16, 2017
03:27 AM
I am also facing same issue.please provide solution for below issue. I created Visual Studio 2013 Windows Application with .Net 4.5 frame work. In This solution I added new class file Installer class file. Sample Code: namespace WindowsFormsApplication1 { [RunInstaller(true)] public class AddinInstaller : Installer { #region Base Implementation private System.ComponentModel.IContainer components = null; protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } private void InitializeComponent() { components = new System.ComponentModel.Container(); } #endregion public AddinInstaller() { InitializeComponent(); } public override void Install(IDictionary stateSaver) { try { base.Install(stateSaver); Debugger.Launch(); Assembly Asm = Assembly.GetExecutingAssembly(); FileInfo asmFile = new FileInfo(Asm.Location); } catch (InstallException ex) { throw new InstallException(ex.Message); } catch { throw new InstallException("Error installing addin!"); } } public override void Uninstall(IDictionary savedState) { try { } catch { } base.Uninstall(savedState); } } } Now I created new Install Shiled Project with 2015LE with .Net 4.0 frame wok. I checked the Installer Class checkbox on the COM & .NET Settings tab on the Properties window of the Primary Output file. Once done build and I am installing this setup. I got This error "1001". Please provide solution for this one. Thank you.
... View more
Latest posts by mvijaykumarredd
Subject | Views | Posted |
---|---|---|
1236 | Oct 16, 2017 03:51 AM | |
1092 | Oct 16, 2017 03:27 AM |
Activity Feed
- Posted Error 1001. Installer Was Not Working on InstallShield Forum. Oct 16, 2017 03:51 AM
- Posted Error 1001. Installer Was Not Working on InstallShield Forum. Oct 16, 2017 03:27 AM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Mar 18, 2019
12:11 PM
|