Jump to content

What does the "add property" button do in the Installer build specification

Recommended Posts

I didn't know about this, but haven't had a need to yet.  Also XBMC Plugins?  You must be doing some cool stuff.


Yes, I am doing some cool stuff... and just realized I forgot to remove that telling part  :oops:


Anyway, now it is here if you need it in the future. 


See you at NI Week!



Link to comment
  • 1 year later...

Thank you, I am looking for this now, and it did. In Win 7, I set AppDataFolder destination, and it install to: C:\Users\\AppData\Roaming , not Local folder, I don't know why... Best, Fu


If you look at the link from Fab, you can see that you should probably use LocalAppDataFolder instead if you want the non-roaming version of it.

  • Like 2
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By David_L
      Hey all,
      (Cross-post from ni.com forums)
      We have a LabVIEW application, which has a LabVIEW-based Installer.  This LabVIEW installer is called from within another Inno installer (since our main Inno installer pulls together multiple components, most of them not LabVIEW).  Whenever this Inno installer ends, it always asks the user to restart their PC, even if the LabVIEW installer was cancelled.
      I narrowed it down, and it's reproducible with only the LabVIEW installer, so it's definitely LabVIEW installer's fault.  According to Inno's help documentation, "if a program executed in the [Run] section queues files to be replaced on the next reboot (by calling MoveFileEx or by modifying wininit.ini), Setup will detect this and prompt the user to restart the computer at the end of installation."  However, as stated above, this dialog is triggered even if the LabVIEW installer was cancelled and wrote no files.
      Now, the above linked documentation refers to a flag I can put in my installer script to ignore this restart dialog, but it's a global flag, and I would like my other installers to still make use of this handy restart dialog if necessary. Unfortunately it seems LabVIEW installers trigger this even if not actually necessary.
      Has anyone seen this before? Any ideas how to make my LabVIEW installer NOT muck around with the MoveFileEx or wininit.ini stuff if/when it's not actually needed?  Attached is a LabVIEW project and Inno Installer script which easily reproduces the problem.  To reproduce:
      Extract the attached .zip Open test.iss in Inno Setup and click the "Run" button Alternately, just run the built installer under "\Output\test_inno_installer_9.99.0.0.exe" Click Next on 'Select Components' dialog Click Install on 'Ready to Install' dialog When LabVIEW installer pops up click Cancel, then yes (you're sure) See the Restart dialog Thanks!
    • By Chris
      I have dutifully been creating new Executable Versions each time I make any changes to my application and then creating New Installers with this new executable.
      For the Installer I did not click on the "Generate" button to change the Upgrade Code in the Version Information category - the Installer does this automatically.  ie. each new Installer had a new Upgrade Code.
      Now each time I have run the NEW Installer version it automatically uninstalls the old version and installs the new version - all very nice and simple
      But today I needed to go BACK a version so I ran the previous installer expecting it to automatically do the same thing, but it won't let me.
      My questions are:
      1) Firstly can this be done, or can you only upgrade to newer versions?
      2) What is the "Generate" button for if the NI Installer generates a new Upgrade Code anyway?
      3) How can I get the NI Installer to upgrade and downgrade and application?
    • By fumobs
      Hello, all!  I am new to the forum.  I've been working on and off in LabVIEW development.  One of my projects requires that I build a VI to download information from a PLC.  The information is laid out in an excel file, where a macro is programmatically ran to convert the info for a more user-friendly look and read.
      When I packaged the VI into an executable and an installer, it's all smooth sailing.  However, when I tested out the installer on multiple computers (with no LV or LV-RTE), a few took 5-to-10 minutes to finish installation.  Others got stuck early in the install process...commonly when the process is installing "Microsoft Run Time Engine".  On one computer, the installation process was cancelled and restarted multiple times without success.  Then, the next morning (after a reboot), the installation worked without issue.  On another computer, I did the whole "install-cancel-restart install" process.  After three times, I checked the task manager and noticed there were equally as many msiexec.exe files still running even after the installations had all been cancelled and closed.  I ended all of the msiexec.exe processes, ran the installation again, and it ran smoothly from 0 to 100%.
      Although it's great that I got the installer to go through smoothly after ending the msiexec process, this cannot do as the solution to get through a full installation.
      Has anyone ever run into this issue?
    • By LogMAN
      Hello everyone,
      I recently installed LabVIEW 2013 on my development machine to get rid of some issues in my current project.
      However the project is originally build in LabVIEW 2011, so I had to save all VIs for the new version (no issues )
      I'm still able to build the application executable with no problems too!
      Now I want to provide an installer for the customer to upgrade the Runtime engine and some additional stuff
      that has been changed for LabVIEW 2013. And there lies my problem, as I'm currently unable to build an
      installer. The configuration dialog shows 'error generating preview' for any executable in the project:

      Naturally I tried to generate the preview in the executable, but there seems to be no issue:

      Creating new specifications did not solve the problem and even creating a whole new project file and including
      the startup VI to it + creating new specifications did not solve the problem...
      I made a new project with a single VI for testing if the application builder is not working in general, but thats
      not the case, as I was able to create an application + installer with no issues.
      So I'm quite sure there is something wrong in my project that causes this behaviour, but I've currently no clue what that
      could possibly be. I read somewhere (in the NI forums I guess) that there could be issues if you have files in your project
      that are build in an older version (as one of the dll files), so I upgraded it... with no success...
      Now does anybody had an issue like that in the past / currently and is there anything I could do or check to regain the ability to provide a proper installer?
      What could possibly cause the installer dialog to fail generate a preview where the application dialog is successfull?
      Any ideas are welcome
    • By EricLarsen
      Is there an easy way to get the destination directory the user selects during custom executable installation?  There are probably some ways to get it using a post installation application, but it seems like a cludge.
      Ideally what I'd like to do is create a registry entry during installation that records the installation directory. 
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.