简体   繁体   中英

How to make an Installer for my DirectShow filters?

I have been writing Windows programs and DLLs for years but have never created an installer. How can I create a lightweight installer for a handful of DirectShow filters that I have written?

The installer needs extract the filter binaries to somewhere in Program Files and then register them. It also needs to offer an effective uninstall. Pretty simple but I have no idea where to start.

I am using Visual Studio 2010 and my code is C++.

You can try using a Visual Studio setup project . It's very limited, but it supports what you need to do.

Another free alternative is WiX . It has a steep learning curve, but it gets the job done.

Both Visual Studio and WiX use Windows Installer. So you will have full Windows integration and product management (modify, repair and remove).

Personally I like innosetup , haven't used it for directshow but I have used it to install and start services. It can certainly do registry operations.

See also How to Register DirectShow Filters

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM