This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- HowTo use C#/DTF with Basic MSI projects?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2009
02:42 AM
HowTo use C#/DTF with Basic MSI projects?
Hi,
is there any good guide available that shows how to use C#/DTF with a Basic MSI projects?
Holger
is there any good guide available that shows how to use C#/DTF with a Basic MSI projects?
Holger
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2009
03:20 AM
There is no need in detailed guide - it's very simple.
At first, you build a solution - see WIX samples ManagedCA. The samples goes with WIX source.
Then you need to wrap your dll by MakeSfxCA.exe - the WIX package utility. How to use MakeSfxCA.exe you can read in DTF.chm.
After this you get your library as a Windows Installer dynamic-link library.
And finally you add new custom action of type Windows Installer dynamic-link library in your basic-MSI package.
Thats all.
In runtime you can attack to debug managed code in process RunDll32.exe.
At first, you build a solution - see WIX samples ManagedCA. The samples goes with WIX source.
Then you need to wrap your dll by MakeSfxCA.exe - the WIX package utility. How to use MakeSfxCA.exe you can read in DTF.chm.
After this you get your library as a Windows Installer dynamic-link library.
And finally you add new custom action of type Windows Installer dynamic-link library in your basic-MSI package.
Thats all.
In runtime you can attack to debug managed code in process RunDll32.exe.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2009
06:31 AM
Thank you.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 27, 2009
09:48 PM
It's even simpler then that. DTF has a special project type ( wix | C# custom action ) that is preplumbed to call MakeSfxca for you. Just create the project and build. You'll have foo.dll and foo.ca.dll where the later is ready to be consumed by InstallShield as an MSI dll custom action.
BTW there's lots of DTF content on my blog.
BTW there's lots of DTF content on my blog.