views:

28

answers:

0

Is it possible to make sure the package can only be installed from mountable drive?

If pkg is launched from mounted drive then the installation should be success and if the pkg is lunched from fixed drives then the installation should not success(should put up custome error message).

I have tried with script which return -1 if the launch path is not in mounted drive but the error message put could not be edited (similar issue http://stackoverflow.com/questions/1555602/packagemaker-custom-ui-dialog)

Is there any solution which I can try?