c++ - GetModuleFileName from MSI -


i try use "getmodulefilename" current "setup.msi" location use mydll.dll in setup.msi installer.

but give me "c:\windows\system\setup.msi". body know why ? plx .

you mention c++ i'm assuming creating type 1 custom action described here. if so, i'm guessing trying figure out install occurring can reference file or something. if so, check out msigetproperty function , originaldatabase property. if doesn't meet needs checkout the msisourcelist* functions starting msisourcelistgetinfo.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -

c# - Asterisk click to call -