Mansur Esmann
Posts: 7
Joined: 2006-05-19
|
Hi,
after rebuilding the Installer - the Installer installs without any error.
But wenn I ry to run the AddIn in Excel nothing apears (AddIn does not appear).
Is there any instruction on "how to build an new Setup-Project step-by-step"?
May I did something wrong because after rebuilding the Project there was some Assemblys missing.
Regards,
Mansur Esmann |
|
Mansur Esmann
Posts: 7
Joined: 2006-05-19
|
I found an instruction how an installer has to look like:
http://www.add-in-express.com/forum/read.php?PAGEN_1=2&FID=5&TID=560&MID=2728&phrase_id=189012#nav_start
Trying this makes an installer whitch compiles with no error.
But when I try to instal, then I get an Error whitch says that it can't find the Assembly "Addin_ChartGenerator.dll".
This happens since I added an CustomActionData: /Addin="[TARGETDIR]\Addin_ChartGenerator.dll"
I found also in an sample of yours that You use AddinExpress.Install.dll.
I tryed both:
AddinExpress.Install.dll
AddinExpress.MSO.dll
Regards,
Mansur |
|
Mansur Esmann
Posts: 7
Joined: 2006-05-19
|
And here the Installer error:
Detailed technical information follows:
---
Date and Time: 5/26/2006 12:06:05 PM
Machine Name: VENUS
IP Address: 192.168.50.1
Current User: VENUS\Mansur Esmann
Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Programme/Kunde/AddIn_Setup/AddinExpress.Install.dll
Assembly Full Name: AddinExpress.Install, Version=2.4.1757.0, Culture=neutral, PublicKeyToken=null
Assembly Version: 2.4.1757.0
Assembly Build Date: 3/30/2006 6:25:50 PM
Exception Source: mscorlib
Exception Type: System.IO.FileNotFoundException
Exception Message: File or assembly name Addin_ChartGenerator.dll, or one of its dependencies, was not found.
Exception Target Site: nLoad
---- Stack Trace ----
System.Reflection.Assembly.nLoad(fileName As AssemblyName, codeBase As String, isStringized As Boolean, assemblySecurity As Evidence, throwOnFileNotFound As Boolean, locationHint As Assembly, stackMark As StackCrawlMark&)
AddinExpress.Install.dll: N 00000 (0x0) JIT
System.Reflection.Assembly.InternalLoad(assemblyRef As AssemblyName, stringized As Boolean, assemblySecurity As Evidence, stackMark As StackCrawlMark&)
AddinExpress.Install.dll: N 00307 (0x133) JIT
System.Reflection.Assembly.LoadFrom(assemblyFile As String, securityEvidence As Evidence, hashValue As Byte[], hashAlgorithm As AssemblyHashAlgorithm)
AddinExpress.Install.dll: N 00095 (0x5F) JIT
AddinExpress.Install.ADXProjectInstaller.InstallAddin(addinFullName As String, adxAssemblyName As String, check As String, gac As String, regasm As String)
AddinExpress.Install.dll: N 01057 (0x421) JIT
|
|
Sergey Grischenko
Add-in Express team
Posts: 7235
Joined: 2004-07-05
|
Hi Mansur.
Please read the VSSetup.doc file from the ADX installation package.
It contains step by step instructions on how you can create the setup project manually in VS. |
|
Mansur Esmann
Posts: 7
Joined: 2006-05-19
|
Hi Sergey,
using this Documentation results in an working Setup File.
But:
During installation an MessageBox appears:
<msg>
Usage: InstalUtil [/u | \uninstall] [option[...]] assembly .....
Installtuil executes the Installers in each given assembly.
If the \u or \uninstall swtich is specified, it uninstalles the assembly, otherwise ....
</msg>
This message appears twice.
Afterwords the Installtion cancels and quits.
In the Installer as build defaultly it shows in the Custom Actions to use AddinExpress.MSO.dll and an CustomActionParameter with \Addin= ....
In The Word-Doc it describes to use AddinExpress.Install.dll with the Parameter \shim=....
So what is the Diference and why the description describes something different then you do within the default AddinExpress-Installer?
And what do i am wrong?
Regards,
Mansur Esmann |
|
Sergey Grischenko
Add-in Express team
Posts: 7235
Joined: 2004-07-05
|
Hi Mansur.
Please read the VSSetup.doc file more attentively. There is two different type of the add-in installation described in the document - with the C++ shim and without one. The default setup project is generated with appropriate parameters in the custom actions.
|
|