Leif I was wondering if moving the code to the 'Custom action cleanup code' section would solve the problem? You may also need to put "return 1;" into the Custom action prep section. Steve