| Author |
Message |
dbaer
Joined: 19 May 2008 Posts: 1
|
Posted: Mon May 19, 2008 6:44 pm Post subject: Trouble using MSI Custom Action to call SQL Package exe |
|
|
I am using Wise Installer Editor. I create a custom action to call sqlpackage executable. I get the following error.
Error:
File or assembly name xxx.exe, or one of its dependencies, was not found.
I can run this executable from the command line and it works fine. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Tue May 20, 2008 9:15 am Post subject: |
|
|
Hi,
The problem could be that the MSI is saving the package to a temporary file and running it from there. Packages can't be renamed because the resources inside will no longer be named the same as the executable. There is a workaround to change the Packager code template so that the name of the resource is generated dynamically based on the assembly name. Please see here. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group