Feature request

Got a problem you cannot solve? Try here.
Post Reply
binkle

Feature request

Post by binkle »

I'd like to be able to pass parameters when calling a .Net installer class like it is possible in the MSI projects of VS2005.

Is this possible?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Did you try the relevant MSIcode command in the IDE? Even if it does not offer a built-in way, you can still achieve this by using Run Program, I think.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
binkle

Post by binkle »

Yes, I'm using the MSI code command. Using this I get the same options dialog like in the visual mode: I can only select the assembly and choose between install or uninstall.

No, Run Program will not work, because my assembly is a dll.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

I was thinking more like <framework>\\installutil.exe [/u] on your DLL file using Run Program.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
binkle

Post by binkle »

Thanks, nice idea.
But don't like to need to determine what framework is installed and so on.
Meanwhile I write my parameters to the registry run my installer class and delete them afterwards.

I hope InstallAware will provide parameters for .NET installer classes in one of the next versions…
MortSkil
Posts: 59
Joined: Mon Oct 30, 2006 3:27 am
Location: Trondheim, Norway

Post by MortSkil »

When I purchased InstallAware, Candice Jones assured me that install methods on targets with a .NET version later than that of the installed assembly is handled correctly by InstallAware.

If the only way to handle this is as Michael suggests, it seem to me this contradicts Candice's statement.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Why? The two issues are completely unrelated.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply