I need to consume a COM dll in my Installscript project. The COM functions expect BSTR for the input arguments.
What is the installscript equivalent of BSTR? I am using IS 2009 professional.
Thanks
Kiran Hegde
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Equivalent of BSTR in Installscript
Started by
kirann_hegde
, Nov 27 2009 07:38
4 replies to this topic
Posted 30 November 2009 - 16:11
Given IS's rudimentary types, it seems like the closest equivalent is simply STRING.
Posted 01 December 2009 - 22:30
More than likely, you won't be able to do that. If you can, let us know how you did it.
Otherwise, here are two suggestions:
1) Write a custom .dll to call the COM function.
2) Create and use the COM objects directly in InstallScript.
If you don't like writing complicated C++, you should do the second one.
Otherwise, here are two suggestions:
1) Write a custom .dll to call the COM function.
2) Create and use the COM objects directly in InstallScript.
If you don't like writing complicated C++, you should do the second one.