How can I add .html file to my installer?

I am creating an installer to put my compiled executable on a customer's computer.  The application also does web publishing, so I must include the following files:
niwebserver.conf
WebPub.ini
WebPub.alias
etc.....   No problem there as the installer selects and includes those files.
I must also include the file "C:\Program Files\National Instruments\LabVIEW 8.6\www\WebPub.html" and then have it installed into the directory "C:\Program Files\National Instruments\LabVIEW 8.6\www" on the customer's system as this is where the webserver is pointed.
I want this all transparent as trying to get the customer to grab the file out of one directory and figure out how to put it in the correct directory would not go well....
Hints??
Solved!
Go to Solution.

Hi!
I'm not sure you can get rid of the physical path problem in 8.6.  In 9.0 NI added a variable $LVSERVER_ROOT to their web config file.
The path turns out to be:
[Program Files]\National Instruments\Shared\LabVIEW Run-Time\www
The best you can do is the path [Program Files] for the installer.  See my post here: http://forums.ni.com/ni/board/message?board.id=170​&message.id=439052#M439052
I write a step-by-step on how to do what you want in LabVIEW 2009.  Might work for 8.6 too, but I seem to remember some tweaking was required.

Similar Messages

  • How can I add .m4r files (thatI have shortened to 30 seconds or less) to iTunes 11.0.1? I cannot find a ringtones folder in Itunes ans it won't let me drag the files to the sidebar...

    How can I add .m4r files (that I have shortened to 30 seconds or less) to iTunes 11.0.1? I cannot find a ringtones folder in Itunes and it won't let me drag the files to the sidebar...thanks!

    How can I add .m4r files (that I have shortened to 30 seconds or less) to iTunes 11.0.1? I cannot find a ringtones folder in Itunes and it won't let me drag the files to the sidebar...thanks!

  • How can I add image files to a executable jar file ?

    Could you tell me how can I add image files to executable jar file ?
    package structure:
    ../com/Main.class
    ../images/..

    Please don't cross post, and read this
    http://forum.java.sun.com/thread.jsp?forum=31&thread=271751
    I've answered the question in the New To Java thread.

  • How can i add new files to my ipod from a different computer  without losing the added files on my ipod?

    how can i add new files to my ipod touch from a diferent computer without losing the added files already on my ipod?

    Email them? Use DropBox?  What type of files?

  • How can I add attachment files – or photos – to my created Adobe reader XI files?

    How can I add attachment files – or photos – to my created Adobe reader XI files?

    Hi adel ghonim,
    You can add images following the instructions in this Help article: Adobe Acrobat X Standard * Paste images as comments.
    You can also add attachments by clicking the paperclip icon in the left column of the Acrobat window...
    Please let me know if you need further assistance.
    Best,
    Sara

  • How can I add .chm files (ebooks) to my itunes library to sink with my ipod touch?

    how can I sink .chm files to my ipod touch, I can`t even add them to my itunes library...

    I downloaded this app called CHM+ Lite.. Launch the app and Click the "+" Sign on the top right corner
    You will see an address like : 192.168.1.100:8080
    Type this in your browser on your computer.  You will be able to upload the file directly into the app.
    Hope this helps..

  • How can I add jar files into the namespace in code?

    My friends:
    I need to add jar files into my namespace dynamicly in my code.But the jar files might be repeated, I am not sure.so, i wonder how can I add them into my namespace, ignoring the repeated files?
    This is my code:
    URL[] urlArrayA = new URL[5];
    urlArray[0] = sample1;
    urlArray[1] = sample2;
    URL[] urlArrayB = new URL[5];
    urlArrayB[0] = sample3;
    urlArrayB[1] = sample4;
    URLClassLoader urlClassLoaderA = URLClassLoader.newInstance(urlArrayA);
    URLClassLoader urlClassLoaderB = URLClassLoader.newInstance(urlArrayB);
    how can i visit classes in urlClassLoaderA from classes in urlClassLoaderB?

    could anyone please answer the question for me ? thank you...

  • I installed the Illustrator 2014 in its English version, but I need the Hebrew support too (ME). How can I add it to my current installation?

    Hi,
    I’d purchased the full CC 2014 and downloaded from your web site.
    Unfortunately, I installed the Illustrator 2014 in its English version only and I would like to install the Illustrator ME with
    Hebrew support as well as right to left support.
    How can I add the Hebrew support to my current installation?

    Hi Hans-Günter,
    Thank you for your quick reply, I looked at the website and if I understood correctly, in order to change my CC applications to support the ME/RTL I must
    un-install the Illustrator 2014, and re-install it, selecting this option in the Language preferences.
    Do I need to re-install the whole CC package? or only the Illustrator?
    Gabi

  • How can I add the file numbers to each photo as a batch in photoshop on a mac?

    Can anyone tell me how I can add the file numbers of each individual photo to the picture and do it as a batch?

    Have a look here http://www.dmxzone.com/go?12067
    Gramps

  • How can I add PDF files in DVDSP or iDVD?

    This might be a really dumb question...but I will ask anyway. I have a client who wants PDF files in there DVD. I found a great template in iDVD I would really like to use, so I would prefer to use iDVD. Anyway, any thoughts out there? Is it possible? Any help would be extremely helpful.
    Best,
    Tom

    Yes, you can add any files that you want to the DVD-ROM portion of the disc. People will not be able to access those files from a DVD player, but any computer will be able to access those files. Of course you will have to tell people about those extra files and, most importantly, how to find those files on the disc.

  • How can i add external file as resource

    When adding resources to a  project, I can only add folders from the project's Properties  --> ColdFusion Project --> Additional Source.
    But I want to add only a single file......how should I do?
    Anyone help me? Thanks a lot......

    In Properties -> ColdFusion Project -> Additional source section one can add a linked folder i.e. a directory on the file system that you would like to add in the project.
    If you want to add only a single file instead of entire directory then select the project, right click and select New -> File.
    Click on the button 'Advanced' and select 'Link to file in the file system'.
    Browse to the file in the file system by clicking the 'Browse' button.
    After clicking OK you should be able to see the linked file in the project.
    Let me know if this works for you.
    Thanks,
    Sagar.

  • How can i sue html:file property=""/ tag?

    Hi gyz,
    I am using struts framework, in ajsp I want to upload file for that I am using <html:file property=""/> tag, but in jsp it is giving error like unavailable attribute.
    Anybody help me how can i use this tag.
    Advanced Thanks,
    Mahendra

    Hi,
    Now it is not giving any error in jsp and in jsp page it is displaying one text box and a browse button.
    But the problem is the file which I try to upload is I am not getting in action class the code i used is
    In JSP
    I write code like
    <html:file property="xmlFile"/>
    In action form I created field like
    private FormFile xmlFile; and created setters & getters for this field
    In action class I written code like
    FormFile xfile=form.getXmlFile();
    String contentType = xFile.getContentType();
    String fileName = xFile.getFileName();
    System.out.println("contentType: " + contentType);
    System.out.println("File Name: " + fileName);
    now I want to try upload any file it is giving error

  • How Can i open Html file in a Browser from Jar file

    Hi
    i am having Html help files inside my Jar file ... if i use
    getclass().getRource("\lib\start.html");
    it is not opening ... so i have to ship seperate folders for html files along with jar files.... can anyone give the solution to have(open) html files inside the jar file and to open then in a default browser of any OS
    Regards
    Ganesan S

    the follwing method i have used to open html file ...
    so to access html file i am shipping resources folder with jar file ..
    private void openHtmlPages(String pageName) {
         String cmd[] = new String[2];
         String browser = null;
         File file = null;
         if(System.getProperty("os.name").indexOf("Linux")>-1) {
              file = new File("/usr/bin/mozilla");
              if(!file.exists() ) {
              }else     {
                   browser = "mozilla";
         }else {
              browser = "<path of iexplore>";
         cmd[0] = browser;
         File files = new File("");
         String metaData = "/resources/Help/Files/"+pageName+".html"; // folder inside jar file
         java.net.URL url = this.getClass().getResource(metaData);
         String fileName = url.getFile();
         fileName = fileName.replaceAll("file:/","");
         fileName = fileName.replaceAll("%2520"," ");
         fileName = fileName.replaceAll("%20"," ");
         fileName = fileName.replaceAll("jarfilename.jar!"," ").trim();
         cmd[1] = fileName;     
         try{
              Process p = Runtime.getRuntime().exec(cmd);
         }catch(java.io.IOException io){
                   //Ignore
    can anyone give me the solution..???
    Regards
    Ganesan S

  • How can i add .aspx files to business catalyst

    Hi,
    A other company that is making news items for us need to upload .aspx files or .php files
    is this possible to do and if so how can they do that.
    Gr. danny

    You can build a nice news feature using web apps.

  • How can I add Redolog files in standby

    Hi,
    I am about to create standby database in standard edition of Oracle9i through RMAN I can't find any entry regarding Redologs in DUPLICATE command can I add redolog after creating standby database or standby database doesn't need redologs, plz let me clear.
    Thanks in advance.
    Khawar

    Hi,
    you can add redolog files for variety of purposes,and this is not mendetory for creating stdby databases.
    anyway you can use these commands which are give below.
    ALTER DATABASE ADD STANDBY LOGFILE
    ('/oracle/dbs/log1c.rdo','/oracle/dbs/log2c.rdo') SIZE 500K;
    You can also specify a number that identifies the group using the GROUP option:
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 10
    ('/oracle/dbs/log1c.rdo','/oracle/dbs/log2c.rdo') SIZE 500K;
    thnks.

Maybe you are looking for

  • How can I can I change an Appleworks business card to match an Avery Label?

    I used the earliest Apple II's, and I loved Appleworks, being a member of the Appleworks Users Club through the days of Appleworks 6, which I still use on my Macbook with OS 10.6.8.  I enjoy the ease of creating business cards that it allows.  I have

  • How to show progress bar in miniplayer?

    How to show progress bar in miniplayer? I play a lot of music podcasts and it would be very helpful if anyone could help me bring that feature back.

  • Purchase Order Header Text.

    Dear all, We maintain the header text in PO. There are around 10 different text items in the PO header text. All these 10 text items are nearly same for some vendors( around say 300 vendors)  when purchases are made from these vendors. Please note th

  • Java Error when starting form 10g from AS10g

    Hi! Just finished compiling libraries and forms on a UNIX machine, that hosts an application server. When I run my application via OC4J, the forms work fine, but when I start the application using the application server, only a grey applet window app

  • Transaction Launcher in CRM 7.0 WebUi

    Hi Experts, I've configured Transaction launcher for ECC transaction FBL5N in CRMWebUi. But when I click on the link a blank sceen is comming without any error messages. when I directly copy the URL in web browser its working fine. Any guesses where