majidebru Posted October 26, 2012 Report Share Posted October 26, 2012 (edited) Hi I should connect to PLC LS .i can’t use OPC-LS so I decided to make 3 file. One of them (opc.vi) to connect to plc and another (main.vi) to show of result of testing and For relation between PLC and Main program I use Shared Variable Library and make “OPC-Share.lvlib”. When I make these 3 file and run in the LabVIEW and build EXE file, every thing is OK, but when I build Installer file, this not work correctly. I set these items : . . Project . . .Main.vi Propertise . . .OPC.vi Propertise . . .Deploy ALL . . . . . . . . . I use this code in the main.vi for run opc.exe after build EXE file : . . . . . . And for delopy and undelopy OPC-Share.lvlib I use these codes in first and end main.vi file : . . . . . . I use Like these codes in the OPC.vi. But after build installer file for distribute programm and use in the another computer , this erroe shows : “Initializing... Calculating dependencies... Checking items for conflicts. This operation could take a while... Preparing items for download. This operation could take a while... Deploying My Computer Deploying OPC-Share.lvlib\\127.0.0.1\OPC-Share deployment failed (error: -1967362042, IAK_SHARED: (Hex 0x8ABC7006) Unable to start service.). Deployment completed with errors Do you wish to run the application anyway or abort the execution?” and after install in another computers this error shows : . . . . . . help me please Edited October 26, 2012 by majidebru Quote Link to comment
asbo Posted October 26, 2012 Report Share Posted October 26, 2012 Why do I Receive Error -1967362042 (0x8ABC7006) When Deploying a LabVIEW Library? 1 Quote Link to comment
majidebru Posted October 27, 2012 Author Report Share Posted October 27, 2012 Thanks but i build an installer and i can't run it manually and i want to run it automatically. Quote Link to comment
asbo Posted October 29, 2012 Report Share Posted October 29, 2012 You could package your installer to automatically check and start the service. I don't know when a deployment takes place during an installation, so it might not be possible with the NI installer, but we've used InnoSetup to great effect in the past to meet custom installer needs. 1 Quote Link to comment
majidebru Posted November 23, 2012 Author Report Share Posted November 23, 2012 Hi i finally solved. i should install SQL client in Target PC. after installed , my program worked. Thanks Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.