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? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -