Feature request

Got a problem you cannot solve? Try here.
binkle

Feature request

Postby binkle » Fri Nov 17, 2006 5:39 am

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:

Postby MichaelNesmith » Fri Nov 17, 2006 9:54 am

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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

binkle

Postby binkle » Fri Nov 17, 2006 10:18 am

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:

Postby MichaelNesmith » Fri Nov 17, 2006 1:04 pm

I was thinking more like <framework>\\installutil.exe [/u] on your DLL file using Run Program.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

binkle

Postby binkle » Mon Nov 20, 2006 3:50 am

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

Postby MortSkil » Mon Nov 20, 2006 8:17 am

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:

Postby MichaelNesmith » Mon Nov 20, 2006 10:31 am

Why? The two issues are completely unrelated.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 198 guests