Does any body know how can i call a dll function from InstallShield or InstallAware.
Call a dll function from InstallAware or InstallShield
3.7k Views Asked by Ghyath Serhal At
2
There are 2 best solutions below
2
Christopher Painter
On
One must first know more about the DLL. Is it a WinPE ( native ) dll with exported functions? Is it a COM server? Or perhaps it is a .NET assembly with or without ComVisible types.
A better answer can be provided if there is more information.
For InstallShield:
One way to consume a .NET ComVisible class is to write an InstallScript custom action and use the DotNetCoCreateObject() function.
Another approach would be to define a managed custom action. Here is an tutorial.
But my favorite approach is to write a DTF custom action to encapsulate your assembly.
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in .NET
- Does compiler optimize operation on const variable and literal const number?
- What is the point of definnig Asp.net Intrinsic Objects In different places and what is the different betwen them?
- Deleting Orphans with Fluent NHibernate
- IOrderedEnumerable to vb.net IOrderedEnumerable Conversion
- What is this namespace ITypeOfObjectsBoundToListBox ? Couldn't find it
- .net rest service with JSON string and consumed with java client
- What is best way to check if any of the property of object is null or empty?
- Telerik's WPF RadColorPicker NoColorText property not working
- Possible consequences of duplicate ProgId for different classes
- How are multiple requests to Task.Run handled from a resource management standpoint?
- Optimizing C++ call from C#
- Make a per-web-application object available to Web API and SignalR controllers
- System.ComponentModel.DataAnnotations.Schema namespace conflict
- LINQ Except/Distinct based on few columns only, to not add duplicates
- Not displaying content by its URL string - absolute urls
Related Questions in INSTALLSHIELD
- Stop the installshield installation if a file is not found in vb.net
- How can we add custom logic while installing exe created by installshield
- Windows installer - run a subsequent time, select "modify" and run specific steps
- InstallShield exclude files based on language selection
- After installation of website it changes Application Pool of web application that follows it.
- mshtml.dll not found by installshield
- Error 2602: The [2] table entry '[3]' has no associated entry in the Media table.The [2] table entry '[3]' has no associated entry in the Media table
- Installshield LE: Require Office 2007 or greater doesn't work
- How do you uninstall a topshelf service with an MSI package?
- How to convert a relative path to an absolute path in InstallShield?
- Potential problems when we are migrating from Installshield to WIX 4
- DISM fails after SQL Silent install
- VS2012 and InstallShield 2014 Premier Issue
- Add two xml entries with the same name - InstallShield
- How can I use installscript to detect Excel.exe running?
Related Questions in INSTALLAWARE
- InstallAware, Add a big SQL script problem
- Is there a way to automatically update the readme in installaware 9?
- InstallAware 9: How can I put selected files into a folder without others being put in automatically?
- I have to open windows fonts folder after install my application by installaware
- Use an installer to add .NET User Control to Visual Studio Toolbox
- InstallAware problem with Delphi 2010
- Building Installation Disk for My Delphi 2010 Application
- delphi setup - error cannot start setup corrupt or password protected
- Inconsistent MSI behavior
- Delphi and InstallAware - Changing Root Folder when using Shortcut
- MSI Engine fails to start
- Application icon is blank when started from Process.Start
- Deploy Webservice using InstallAware
- Run application updates with non admin users
- InstallAware database rollback
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The user guide: http://kb.flexerasoftware.com/doc/DocumentRepository/Installation/InstallShield/InstallShield%202011%20Professional/01_Public/Product_Manual/InstallShield2011UserGuide.pdf
Has a section with examples from page 694 onwards.