how do I?

For all your non-technical questions.
dilligaff
Posts: 1
Joined: Mon Feb 19, 2007 12:31 pm
Location: UK
Contact:

how do I?

Postby dilligaff » Mon Feb 19, 2007 12:38 pm

Thinking of moving to InstallAware studio fromn IS11.

1. Set the length of a (string) variable? I'm passing a string variable through to a dll which will update the string, thus the string needs to be made long enough before passing it to the DLL. getting bored with having to to use set varaible FRED to 12345678901234567890blahblah...

2. Is it possible to pass the MSIHANDLE of the executing script through to a Delphi DLL and if it is, can we use this to access the session and update session variables as you can with IS and WIse?

Product looks nice, looking at it after seeing Borland make the switch.

Regards

John

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Tue Feb 20, 2007 4:53 am

1. Using Call DLL Function, you can choose the "allocated string buffer" parameter type.

2. This is not necessary with InstallAware - a lot less rocket science going on here :) You can call any arbitrary DLL using Call DLL Function and have it write to any arbitrary script variable. OR, you can build a custom Delphi plug-in which obtains a full list of available variables in the script, and participates in MSIcode as a native citizen. There is even a pre-built Delphi plug-in sample that you can use.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 26 guests