How to execute "Mass Compile" in my own Installshi​eld?

I have to create my own distribution with
Installshield.
I don't know how to run automatically the Mass Compile at the end of the installation procedure.

You will need to create a VI that calls the "Mass Compile" VI Server Application Method. Have install shield launch this VI via a command line and have the VI set to "run when opened".
Good luck,
Jim

Similar Messages

  • How much big file can be executed or compiled by JVM/JRE?

    How much big file can be executed or compiled by JVM/JRE?

    The language, compiler, or JVM specs will probably say.
    However, if you need to ask this question, then your classes are far too big.

  • How do i mark a .vi so it's ignored by mass compile?

    Hi
    I am in the progress of updating an old project to LV 2013 and my mass compile shows this:
    #### Starting Mass Compile: 7. aug 2015 10:00:10
    Directory: "C:\MyLabviewProgram"
    ### Bad VI: "VI Tree.vi" Path="C:\MyLabviewProgram\VI Tree.vi"
    #### Finished Mass Compile: 7. aug 2015 10:00:53
    That .vi will ALWAYS fail (I hope you can guess why  ). 
    This project only has one .vi that is "failing as intended", some of the other projects I'm about to upgrade have alot more.
    Is there a way to tag / mark a file so mass compile will ignore it altogether?
    /Palle

    PalleM wrote:
    Hi
    I am in the progress of updating an old project to LV 2013 and my mass compile shows this:
    #### Starting Mass Compile: 7. aug 2015 10:00:10
    Directory: "C:\MyLabviewProgram"
    ### Bad VI: "VI Tree.vi" Path="C:\MyLabviewProgram\VI Tree.vi"
    #### Finished Mass Compile: 7. aug 2015 10:00:53
    That .vi will ALWAYS fail (I hope you can guess why  ). 
    This project only has one .vi that is "failing as intended", some of the other projects I'm about to upgrade have alot more.
    Is there a way to tag / mark a file so mass compile will ignore it altogether?
    /Palle
    Why should we see why that VI will fail? Before there were projects I always used a VI Tree.vi and made always sure that it had no broken arrow. Not a big deal really.
    I'm not aware of any flag or setting to exclude a VI from Mass Compile and don't really think it exists.

  • Command line: Mass compile and LLB Conversion

    Using LabView 8
    Using a script (Perl or VBScript) I would like to extract some VI from our source control,
    mass compile them to be to the current LabView version and then create a LLB from that directory.
    The need for this is to have a synchonisation between 2 applications.
    Since this needs to be done from a script, I need a way to perform this from the command line.
    (The other solution we have, is to perform this manually every time a modification is made to the original files,
    But sometimes memory can be defective and then .... )
    Any suggestions, ideas...
    Thanks
    EricG

    Eric,
    That sounds like quite an undertaking, but I think you might be able to implement it (or at least most of it). LabVIEW does not have command line arguments for all that you want to do, so I would recommend building a VI that does what you want and then building that VI into an executable that utilizes command line arguments.
    In this VI, opening VIs and mass compiling them can be accomplished through VI Server in the form of an Invoke Node -- these functions are methods under the Application class. Bear in mind that mass compiling can only bring VIs forward in versioning, not backward. For the LLB functions, you can use the Libraryn VIs that ship with LabVIEW -- they are "hidden" in the LabVIEW root directory under vi.lib/Utility/libraryn and are pretty intuitive. As far as the source code control, you are on your own, as that will be dependent on the specific SCC software you are using and will most likely require using ActiveX.
    Once you have a VI built that does everything you want and you are ready to build it into an executable, you will want to configure it to accept command line arguments. There is a great online Knowledgebase on this subject, which I have linked here. And of course, if you run into any specific problems along the way you can get help from this great online community!
    Best of luck!
    E. Sulzer
    Applications Engineer
    National Instruments

  • How to execute procedure in toad software

    hiii guy's i run my procedure on sql prompt and it run properly
    but when i tried this on toad i got an problem
    after compiling my procedure on toad
    when i write
    execute procedure_name(parameter1,parameter2);
    then i get an error i.e
    ORA-00900: invalid SQL statement
    can someone tell me how to execute procedure on toad
    thanks in adv...........

    how to execute procedure in toad softwareIn TOAD's schema browser you can go to the procedures tab - right click on the procedure in question and choose execute procedure - a window should pop up, where you can give optional parameters - the rest should be almost self explanatory ;)

  • Error while executing the compilation process

    Hi,
    ISA Framework: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error while executing the compilation process:  javac: invalid flag: "/usr/sap/CJP/J06/j2ee/cluster/server2/apps/sap.com/crm~isauseradm/servlet_jsp/isauseradm/work/jsp_login XXXXXXXXXXX.java" Usage: javac <options> <source files> where possible options include: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are used -classpath <path> Specify where to find user class files -sourcepath <path> Specify where to find input source files -bootclasspath <path> Override location of bootstrap class files -extdirs <dirs> Override location of installed extensions -d <directory> Specify where to place generated class files -encoding <encoding> Specify character encoding used by source files -source <release> Provide source compatibility with specified release -target <release> Generate class files for specific VM version -help Print a synopsis of standard options ].
    We get this message periodically then we login to isauseradm-application or shopadmin-application.
    How we can solve this issue? Why it's appears in system?
    /nwa shows this error:
    Process after commit failed - may be hanging internal locks mut be removed manually.
    Where I can see hanging internal locks ?
    Denis

    to add some information,
    in runtime workbench, component monitoring, performance monitoring and all other thing except message monitoring is OK.

  • Mass compile in Windows 7 on SimpleErrorHandler.vi

    Hello,
    i wrote some action in Labview 2011 that i want to use in Teststand with labview-runtime.
    But some of them are not working and cant be loaded in Teststand. So someone told me to run a mass-compile.
    I did this several times (also on complete drive c but with no luck.
    Now i found out that only the vis that are using the "Simple-Error-handler.vi" are not working and cant be loaded.
    When i delete this vi from my VIs then i have no problems any more.
    So i opened the SimpleErrorHandler.vi manually in Labview and selected "Save All".
    Then i get a popup:
    Cannot save VI "FXP.xctl:fxpInit.vi"
    The VI already exists and you do not have permission to replace it."
    How can i resave it? I think the SimpleErrorHAndler must be also saved in Labview 2011 to be runable in the runtime2011
    Thanks for help

    Just to close the Circle:
    This Thread deals with the same Problem:
    http://forums.ni.com/t5/NI-TestStand/Vi-not-running-when-using-NI-s-SiimpleErrorHandler-vi-TS2010/m-...
    Regards!
    Moritz M.

  • Please Suggest...How to execute SQL quiries in JDeveloper using BPEL????

    Hi All,
    I am very new user of Oracle JDeveloper and BPEL. I am trying to develop a process flow in JDeveloper using BPEL and get stuck when I was trying to execute a SQL quiry in the flow.
    How to execute SQL quiries using JDeveloper and BPEL?????????????
    Possibilities might be..
    1.Configring Database Adapter
    2.Using Java Embedded activities of BPEL
    However, any of the above mentioned way is not clear with me how to implement it to get the query run in the process flow.
    It will be great if anyone could help me with this concept....
    Thanks in advance
    -Prabha
    Edited by: user10259700 on Sep 15, 2008 3:48 AM

    Hi,
    though BPEL has its development environment in JDeveloper, it has its own forum
    BPEL
    Frank

  • How to reprint Mass POs

    Hi Guys
    I have one question
    How to reprint Mass POs more than 100 Purchase orders
    Thanks in advance
    SAP MM

    Hello,
    You can mass print all your 100 Purchase orders using transcation ME9F
    Go to transaction ME9F, enter the purchase order as much as possible with the help of multiple selection Tab. You have 'Set Filter' with the help of selection criteria like purchasing orgainsation, purchasing group, document type etc. Once done you can choose, Select all option in the application toolbar and click the print option.
    With this all selected PO will be printed.
    Note: Please check the processing status before executing the print
    BR,
    Tushar

  • Pl/sql function overload package program and how to execute

    --creation overload package
    create or replace package pkg_overload is
    procedure get_emp(p_empid in number,p_empsal out number);
    procedure get_emp(p_ename in varchar2, p_empsal out number);
    end;
    -- define its body
    create or replace package body pkg_overload is
    procedure get_emp(p_empid in number,p_empsal out number) is
    begin
    select sal
    into p_empsal
    from emp
    where empno=p_empid;
    end;
    procedure get_emp (p_ename in varchar2,p_empsal out number) is
    begin
    select sal
    into p_empsal
    from emp
    where ename=p_ename;
    end;
    end pkg_overload;
    /* output of this :PACKAGE pkg_overload compiled
    Warning: execution completed with warning
    -- My question is about the warning and how to execute it
    --I tried that way to execute that program
    /*variable g_sal number;
    execute pkg_overload.get_emp(77934,:g_sal);
    RESULT
    Error starting at line 911 in command:
    execute pkg_overload.get_emp(77934,:g_sal)
    Error report:
    ORA-06550: line 1, column 7:
    PLS-00905: object SUBHAJIT.PKG_OVERLOAD is invalid
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    emp table code
    -- File created - Thursday-April-12-2012
    -- DDL for Table EMP
    CREATE TABLE "SUBHAJIT"."EMP"
    (     "EMPNO" NUMBER(4,0),
         "ENAME" VARCHAR2(10 BYTE),
         "JOB" VARCHAR2(9 BYTE),
         "MGR" NUMBER(4,0),
         "HIREDATE" DATE,
         "SAL" NUMBER(7,2),
         "COMM" NUMBER(7,2),
         "DEPTNO" NUMBER(2,0)
    ) SEGMENT CREATION IMMEDIATE
    PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
    TABLESPACE "USERS" ;
    REM INSERTING into SUBHAJIT.EMP
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7369,'SMITH','CLERK',7902,to_date('17-DEC-80','DD-MON-RR'),800,null,20);
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7499,'ALLEN','SALESMAN',7698,to_date('20-FEB-81','DD-MON-RR'),1600,300,30);
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7521,'WARD','SALESMAN',7698,to_date('22-FEB-81','DD-MON-RR'),1250,500,30);
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7566,'JONES','MANAGER',7839,to_date('02-APR-81','DD-MON-RR'),2975,null,20);
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7654,'MARTIN','SALESMAN',7698,to_date('28-SEP-81','DD-MON-RR'),1250,1400,30);
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7698,'BLAKE','MANAGER',7839,to_date('01-MAY-81','DD-MON-RR'),2850,null,30);
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7782,'CLARK','MANAGER',7839,to_date('09-JUN-81','DD-MON-RR'),2450,null,10);
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7788,'SCOTT','ANALYST',7566,to_date('09-DEC-82','DD-MON-RR'),3000,null,20);
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7839,'KING','PRESIDENT',null,to_date('17-NOV-81','DD-MON-RR'),5000,null,10);
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7844,'TURNER','SALESMAN',7698,to_date('08-SEP-81','DD-MON-RR'),1500,0,30);
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7876,'ADAMS','CLERK',7788,to_date('12-JAN-83','DD-MON-RR'),1100,null,20);
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7900,'JAMES','CLERK',7698,to_date('03-DEC-81','DD-MON-RR'),950,null,30);
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7902,'FORD','ANALYST',7566,to_date('03-DEC-81','DD-MON-RR'),3000,null,20);
    Insert into SUBHAJIT.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) values (7934,'MILLER','CLERK',7782,to_date('23-JAN-82','DD-MON-RR'),1300,null,10);
    -- Constraints for Table EMP
    ALTER TABLE "SUBHAJIT"."EMP" MODIFY ("EMPNO" NOT NULL ENABLE);
    Edited by: 923746 on Apr 12, 2012 1:18 PM

    >
    Warning: execution completed with warning
    >
    The package compiled with warnings. Post the exact error message.
    The code compiled with no errors for me in the SCOTT schema using that EMP table.

  • How to Execute different classes using editplus

    Consider a program like this
    class abc
    public static void main(String args[])
    System.out.println("abc");
    class bbc
    public static void main(String args[])
    System.out.println("bbc");
    In this program there are two classes when i compile this code in editplus i wont get any error but if i want to execute only ABC class how to do that in editplus because in editplus we usually set the file name for JAVA execution
    But here it is different SO,how to execute different classes in a program which is saved with arbitary name in EDIT PLUS..

    Try reading an editplus FAQ or posting to an editplus forum or even searching through help in editplus.

  • How to execute a servlet on  jakarta-tomcat-4.0.3

    Please let me know how to execute a servlet on  jakarta-tomcat-4.0.3 .I am able to compile it .
    Regards,
    Saurabh Singhal

    Hi
    You must provide a mapping in your web.xml configuration file. This mapping will allow you to access servlet via url in form: "http://[domain]:[port]/[context]/servlet/[servlet full qualified name]"
    This file should be located at $TOMCAT_HOME/conf.
    Sample web.xml contains:
    <web-app>
        <display-name>Sample Database App</display-name>
        <description>
         This is a simple application.
        </description>
        <servlet>
            <servlet-name>MyServlet</servlet-name>
            <servlet-class>MyServletImpl</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>MyServlet</servlet-name>
         <url-pattern>/myservletaddr</url-pattern>
        </servlet-mapping>
    </web-app>
    You can find more info at:
    http://scitec.uwichill.edu.bb/cmp/online/CS36L/tutorials/TomcatIntroduction/TomcatIntroSampleApp.html
    or
    http://www.moreservlets.com/Using-Tomcat-4.html

  • Mass Compile "Bad VI" & "Bad SubVI" errors, but with no apparent errors.

    I am using LabView 8.5, FIRST Robotics Competition Edition, targeting the Compact RIO.
    I am getting Mass Compile "Bad VI" & "Bad SubVi" Errors, in my own code, but with no apparent errors in the vi's themselves.
     #### Starting Mass Compile: Mon, Jan 19, 2009 11:59:34 PM
      Directory: "C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Robot.lvproj"
      ### Bad VI:    "Autonomous Independent.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Autonomous Independent.vi"
      ### Bad VI:    "AcceleratingArcadeDrive.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\AcceleratingArcadeDrive.vi"
      ### Bad subVI: "CrazyIvan.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\CrazyIvan.vi"
      ### Bad subVI: "Teleop.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Teleop.vi"
      ### Bad VI:    "Autonomous Independent.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Autonomous Independent.vi"
      ### Bad VI:    "AcceleratingArcadeDrive.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\AcceleratingArcadeDrive.vi"
      ### Bad subVI: "CrazyIvan.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\CrazyIvan.vi"
      ### Bad VI:    "AcceleratingArcadeDrive.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\AcceleratingArcadeDrive.vi"
      ### Bad VI:    "Autonomous Independent.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Autonomous Independent.vi"
      ### Bad VI:    "AcceleratingArcadeDrive.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\AcceleratingArcadeDrive.vi"aa
      ### Bad subVI: "CrazyIvan.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\CrazyIvan.vi"
      ### Bad subVI: "Teleop.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Teleop.vi"
      ### Bad subVI: "Robot Main.vi" Path="C:\Documents and Settings\Acshi\My Documents\LabVIEW Data\Robot\Robot Main.vi"
    #### Finished Mass Compile: Mon, Jan 19, 2009 11:59:46 PM
    Since some of these reference each other, this is the block diagram of one that doesn't reference any other erroring vi's.
    What can I do to fix this?
    Attachments:
    BlockDiagram.png ‏29 KB

    Interesting... It must have timed out before the temporary image did, and so I did not noticed a problem until I returned.
    Regardlessly, I have found the error.
    Errors did exist in my VI's, In particular, one of the subVi's I called in the VI shown happened to be private only, and so couldn't be used -- now I've just made a public version for my personal use. But LabView would not show me the actual errors unless I force-ran the the program, I really don't know why I had to do this, but when I did, it showed me a nice little dialog with my errors in it.
    I am confused, as when I did normal runs, it would simply complain that the VI's were invalid and would not permit the run.
    Very odd. 

  • Mass compile crashes LabVIEW 2010

    Before I go ahead and call the support line
    Pentium 4  
    2.8GHZ
    2GB RAM
    XP 32 bit
    Anyone have issues mass compiling an application code from 8.6.1 to 2010 SP1 whereby it would seem to work fine for quite awhile then crash?
    I tries no cache on the VI and all other items are off.
    It seems to happen even in subdirectories of the application.
    I just installed 2010 SP1 and the device drivers and when I look at them in isolation they seem to be installed correctly.
    I can also load the 8.6.1 application
    Im just wondering if Mass Compile is running out of memory and is it known issue or am I discovering something.
    I will attempt to log results on the next try.

    Hey guys, this is Paul with Applications Engineering at NI.
    I have reviewed your issues, asked around, and have a couple tips and questions.
    First, if there is any chance you could post your project in a zipped format, then we could examine it on our end and see if we experience the same issue, which would make it easy to file a CAR on.  If you are wary of posting your code publicly, you can PM me, and we can work out a way to upload it to our FTP server that only NI employees can access.
    richjoh, in your posted Mass Compile screen, I see a VI being flagged as bad.  When you open this VI on it's own do you experience this problem?  Can you locate in that VI where it calls the NanoMsg.lvclass?
    Second, to either of you, were the controls and lvclasses mentioned still referenced in your projects anywhere?  Were they included in the dependencies?  If not, once you restored these files into the project, find them in the
    dependencies, right click them, choose "Find">"Callers".  Where they still being called anywhere?
    Alternative to your solutions, have you considered creating a new project and adding all of your VIs into the new project?  I have seen this resolve upconverting issues in the past.
    Paul Davidson
    Sound and Vibration Software Staff Product Support Engineer
    National Instruments

  • Mass compile dialog after saving vi's on Perforce

    I have been receiving errors saving vi's to Perforce which prompted a mass compile.  Upon completion, I received the attached dialog box.  Can anyone give me direction/suggestions how to proceed?
    Thank you.
    Attachments:
    MassCompile09Aug2013.txt ‏551 KB

    It appears that LabVIEW is having trouble locating the Visa.  When performing the mass compile do you have access to edit all the Visa and sub Visa that it is trying to access?  Also, you could also try saving the project onto your desktop with all the files, mass compiling, and then individually moving them into Perforce but that would be tedious.
    Jesse S.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • No data in web analytics report after moving to new server

    Hi, I have a Sharepoint 2010 portal, we need to move that portal to a new server. For this, I took the backup of the Web Analytics Reporting db and Staging db and restored them in the SQL of new server. Then, I created new Web Analytics Service Appli

  • How do I set up my computer to print?

    I just installed a HP Officejet 6700.   I can print from Microsoft Outlook & Microsoft Word without a problem because there's a toolbar with the print option.  But when I'm on the web & I want to print the page or a highlighted excerpt, what do I do?

  • Smart View 11.1.1.3.500 Install on Windows 2008 R2 64 Bit SP1

    Wanted to check if any one form user community was able to install Samrtview 11.1.1.3.5 on Windows 2008 R2 64 bit SP1 Think support matrix says its compatible with windows 2008 64 bit but not R2 - Any round about solutions to get his installed on R2

  • Burned dvd's

    Hello, the burned disc's from idvd play on domestic dvd player but the disc won't mount on the computer they were created on. I insert the disc and after about 40 seconds it automatically ejects. I have no problem with any other dvd's,data or comerci

  • How can I dynamically alter search spec for results set based on parameter

    We have defined a string parameter in BIP as p_lastName. We pass this to our RTF template in $p_lastName, definition in RTF as per below: <?param@begin:p_lastName;'%'?> We want to include this data in a table based on our dataset but applying the par