cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
josephine
Level 5

problem with a custom action

I have a very strange problem with a custom action that's supposed to install a printer driver. The custom action is put at the very end because it depends on c++ 9.0 runtime libraries. It has some UI asking for input.
Now when the UI is put up and the input is filled out, the printer driver is installed and it works fine. After I exit the custom action to let the install finish, however, the printer driver stops working.

I've tried to set the custom action as immediate or deferred in system context. The same problem with both approach.
If I manually run the exe (in the custom action) without an install, it always work.

What could be wrong? Thanks.
Labels (1)
0 Kudos
(2) Replies
josephine
Level 5

BTW, this problem happens with x64 system.
0 Kudos
josephine
Level 5

OK, figured it out myself.
should set the custom action to "install with a product" instead of "stored in binary table"
0 Kudos