Flexera Software Community  

Go Back   Flexera Software Community > Products > InstallShield > InstallShield Windows 12
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #6  
Old 12-12-2006, 05:19 PM
chrisselnes's Avatar
chrisselnes chrisselnes is offline
Power User (30+ Posts)
 
Join Date: Jun 2002
Location: Eugene, OR
Posts: 41
Did you find any way to call the .net assembly without have to go through a com dll?
Reply With Quote
  #7  
Old 12-12-2006, 09:06 PM
Christopher Painter's Avatar
Christopher Painter Christopher Painter is offline
Uber User (1000+ Posts)
 
Join Date: Jul 2003
Location: Austin, TX
Posts: 4,044
Saying that InstallShield fails to support Installer classes is akin to saying that a class fails to implement the CommitSuicide() method. Installer class CA's are junk.

InstalScript supports calling managed code custom actions that have the [ComVisible(true)] attribute. This is way better and you'll find all the information you could possible need on my blog.
__________________
Christopher Painter, Industry Leading Expert in:
Windows Installer, InstallShield, C#, DTF, TFS, WiX and IsWiX
Visit DeploymentEngineering.com for more information on products and services offered
Reply With Quote
  #8  
Old 12-13-2006, 02:45 AM
Weevie Weevie is offline
Power User (30+ Posts)
 
Join Date: Sep 2006
Location: Worcester, UK
Posts: 35
Quote:
Originally Posted by Christopher Painter
Saying that InstallShield fails to support Installer classes is akin to saying that a class fails to implement the CommitSuicide() method. Installer class CA's are junk.

InstalScript supports calling managed code custom actions that have the [ComVisible(true)] attribute. This is way better and you'll find all the information you could possible need on my blog.
Funnily, for junk, they worked just fine in the VS2005 Setup project which as far as I can tell is just a very limiting MSI builder.

Whatever, in the end I just had myself a console app in C# with the code cut and pasted from my installer class. That works fine too.

I've no intention of wasting valuable time learning a proprietary installation scripting language unless I'm metaphotically having a gun held to my head.

One of the complaints made about installer classes is that they depend on the .Net framework being installed and another was they don't work if part of an assembly that's going in the GAC.

All our installs are of .Net assemblies and none of our stufff is going in the GAC.
Reply With Quote
  #9  
Old 12-13-2006, 06:35 AM
lam1278's Avatar
lam1278 lam1278 is offline
Mega User (200+ Posts)
 
Join Date: Nov 2004
Location: Kalamazoo, MI
Posts: 237
Not sure what you mean by "certificate" in your instance - but one of my developers asked me the same thing just yesterday, and I couldn't find a way to install a "certificate" either in InstallShield... His certificate had to do with SQL Server replication on our user's computers, so this may not even apply, but I thought I'd share anyhow.

He showed me how he did it with the "Certificate Import Wizard" within Windows and I found a command line utility from Microsoft:

certmgr.exe

Certificate Manager Tool
Reply With Quote
  #10  
Old 12-13-2006, 06:42 AM
Christopher Painter's Avatar
Christopher Painter Christopher Painter is offline
Uber User (1000+ Posts)
 
Join Date: Jul 2003
Location: Austin, TX
Posts: 4,044
Quote:
Originally Posted by Weevie
Funnily, for junk, they worked just fine in the VS2005 Setup project which as far as I can tell is just a very limiting MSI builder.

Whatever, in the end I just had myself a console app in C# with the code cut and pasted from my installer class. That works fine too.

I've no intention of wasting valuable time learning a proprietary installation scripting language unless I'm metaphotically having a gun held to my head.

One of the complaints made about installer classes is that they depend on the .Net framework being installed and another was they don't work if part of an assembly that's going in the GAC.

All our installs are of .Net assemblies and none of our stufff is going in the GAC.
There are alot more complaints then that. Another one is they only run in deferred execution and there is no way of passing data back and forth to your custom action. Another would be that when they fail, they throw up a modal exeception block. Even when running fully silent /QB.

Installer class is ****. But suit yourself.
__________________
Christopher Painter, Industry Leading Expert in:
Windows Installer, InstallShield, C#, DTF, TFS, WiX and IsWiX
Visit DeploymentEngineering.com for more information on products and services offered
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 05:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2010 Flexera Software Inc. All rights reserved.