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
Post a Comment