09-12-2009 10:01 PM
Hi there,
Has anybody made this work for LV 2009?
A few of the problems have encountered:
1. Where to get the right 2009 RTE?
I tried getting it from disk which included around 30 files and included them all in my project. The main executable is an ".msi" file. The LV installer builder recognises only ".exe" files as files you can run after installation of your main app.
Then I downloaded the LV 2009 RTE from the NI website which is actually a single .exe file (much nicer to include in your project). The poblem is that it is a self-extracting file. Therefore before you can run it (i.e. silently) it needs to be extracted, therefore doesn't work with Spec file.
2. I produced a Spec file using the cmd prompt by locating the (any instance?) setup file for my apps installer using tedious dos commands. I had trouble with the location command "setup /generatespecfile [spec file location]" but managed to sort it out.
It was a very short process to produce the spec file. I opened it up and noticed that there are sections in it you can fill out. I think in my case since I only want to install the run-time engine then the command line statement "setup /q /AcceptLicences yes" should take care of everything.
I hope that this should start a discussion so that we can work this out for LV 2009, or hear from someone who already has.
Thanks,
Battler.
09-14-2009 03:54 PM
Hi battler,
Can you not include the RTE when you build the installer?
09-15-2009 06:35 AM
G'day Flash,
What is the file I should include as the RTE? The file from the NI website is a single .exe file which when executed requires self-extraction, therefore not compatible with silent install.
The RTE that I hav with my copy of LV includes a .msi file as the main executable. The installation builder does not recognise any file (to start after installation) which is not .exe.
Hope you can help.
Cheers,
battler.
09-15-2009 07:45 AM
Hi battler,
The ".exe file" is msiexec
msiexec /quite /i aproduct.msi /l*v c:\aproduct.log
or
start /wait msiexec /quite /i aproduct.msi /l*v c:\aproduct.log
More about msiexec can be found by running without parameters or in Internet.
09-15-2009 07:03 PM
Hi NicB,
I understand that the msi file is an exe.
However, after I include the msi and all other associate files in the project when I go to select it (it must be selected) in the installation builder (as a program to run following installation) LV does not recognise and does not show it.
Do you know what I mean?
Cheers,
Battler.
09-18-2009 02:23 AM
09-18-2009 02:54 AM
Hmmm, not sure what you needed exactly...
The easiest way from my point of view:
Isn't?
Andrey.
09-18-2009 04:03 AM
battler. wrote:
Anybody done this?
Please refrain from postings like this. It is only annoying, and you will actually get less help with such a tactic
you have to use the msiexec.exe file with some command line options to "install" a msi file. In your case I think it would be best to make a a third-party Microsoft Installer package. Use this site a starter
http://support.microsoft.com/kb/257718
09-18-2009 06:06 AM
No need for a spec file?
Where do I locate the RTE with this msiexec.exe? This is what I have..
Thanks.
09-18-2009 06:07 AM