About

Dimitar Evgeniev Dimitrov

Software Developer

Munich Germany

One Response to “About”

  1. Alan Schwartz Says:

    Hi Dimitar_
    I am a Clinical Social Worker who developed a application for other ssworkers. I am running into installer problems with different versions of Access and the installer starting up w/ each versiion. I read your installscript post and wonder if it is for sale. Thanks Alan

    Here is sample code for a custom action in InstallScript, you can do the same in C++ no matter how are you building your MSI package.
    The idea is to find out which COM components are you registering and to remove the hash values, that are inserted automatically from Windows Installer.

    function RemoveRepairKeys(hMSI)
    STRING key, guid, context;
    LONG hDB, hView, hRec, r;
    NUMBER pos, num;
    begin
    RegDBSetDefaultRoot(HKEY_CLASSES_ROOT);

    hDB = MsiGetActiveDatabase(hMSI);

    if(hDB = 0) then
    SprintfMsiLog(“Error MsiGetActiveDatabase”);
    return 0;
    endif;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: