First time ... - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

amtlman
Posts: 2
Joined: Tue Oct 12, 2010 8:54 pm

First time ...

My first time with Advanced installer....

I have a simple Visual Studio 2010 Ultimate project and have built a release version.
the files located in my \bin\release folder are:
xxx.application
xxx.exe
xxx.exe.config
xxx.exe.manifest
xxx.pdb
xxx.vshost.application
xxx.vshost.exe
xxx.vshost.manifest
xxx.vshost.config
xxx.xml

The application needs only to connect to SQL server, all other functions are handled using VS.

How do I create a pack to install this...

I used the template:
Visual Studio Application
pointed to the release folder
used prequisite using: dotNetFx40_Full_x86_x64.exe and dotNetFx40_Client_x86_x64.exe

Once it runs I get an error both on my development PC and that of a TEST PC...

Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 1026
Date: 10/12/2010
Time: 1:41:29 PM
User: N/A
Computer: TANDTT3VSQL01
Description:
Application: MHHEFA.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])
at MHHEFA.My.MyApplication.Main(System.String[])



I have created install disks in the past with a hitch... So what am I missing????

Any help would be appreciated.

Thanks
Steven.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: First time ...

Hello and welcome to Advanced Installer Forums,

Since you are new, I highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products.
This will also help you better understand support team's suggestions now and in the future. The simple and professional tutorials are especially important.
The application needs only to connect to SQL server, all other functions are handled using VS.
Do you mean the application or the installer? Advanced Installer has the capability to connect to an SQL server and run SQL scripts against a database.
Once it runs I get an error both on my development PC and that of a TEST PC...
Is the error encountered during the installation or during the time your application runs? If the former, please post an install log.
If the latter, you could try debugging your application with the debugging tool for your programming language to see where exactly in your code is the exception thrown. That might shed some light on the issue.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”