- NSIS Discussion
- Access Runtime
Archive: Access Runtime
duermer
9th February 2004 17:46 UTC
Access Runtime
Hi,
I have a problem because I do not know how could I do this?
I have the follow problem.
I want that the Installation install Access Runtime.
I have the Installation of Access Runtime as a *.msi file.
I believe that it could go with the custom functions but I do not know how.
Maybe somebody could write the line for installing Access Runtime.
Sincerly Patrick Hennig
duermer
9th February 2004 18:09 UTC
Could write the line to install a msi package from my Installation because at this article I found nothing to do this
for better understanding:
I want that my Installation install not only my files that it also install Access Runtime
nandhp
9th February 2004 18:35 UTC
I don't know what "Access Runtime" is but if it's a .MSI, read the section about MSI packages in that page:
The command "msiexec /qb /i ActivePerl.msi" installs ActivePerl.msi - So to do this from NSIS use:
Exec "msiexec /qb /i ActivePerl.msi"
This assumes (more or less) that ActivePerl.msi is in $EXEDIR. You can use a BAT file, File and nsExec if it's somewhere else, maybe something like
File "installperl.bat"
nsExec::ExecToLog '"$INSTDIR\installperl.bat" "$INSTDIR\tools"'
then installperl.bat might be:
cd %1%
start /wait msiexec /qb /i ActivePerl.msi REBOOT=ReallySuppress
(REBOOT=ReallySuppress tells it not to reboot).
duermer
9th February 2004 18:44 UTC
And this should go with all msi files
nandhp
9th February 2004 18:47 UTC
I don't quite understand. this should perform an automatic install for any .MSI, if you change the filenames.
duermer
9th February 2004 18:58 UTC
Ok thanks but when I make this during the installation a massage come that the file could not found.
What must I do exactly that I could write the whole path.
Vytautas
9th February 2004 22:14 UTC
You should probably include the .msi file in the installer, then extract it to the $TEMP directory, run it and then cleanup.
Vytautas
duermer
9th February 2004 22:17 UTC
OK Thanks.
But I have one problem.
On Windows Xp it runs but on Windows 98 msi do not run
Vytautas
9th February 2004 22:23 UTC
I'm not 100% sure on this but I think that you might have to update the Microsoft MSI installer 'runtime' on the 98 PC. I say this because I have noticed that certain MSI installers, e.g. Nero, first update the installer package, reboot and only then install the program and they only do this on win9x PCs.
Vytautas
deguix
10th February 2004 03:14 UTC
Yep, I heard about that when I had a Win98. Try to update it, duermer.
duermer
10th February 2004 18:27 UTC
Ok but can nobody write me the answer for this problem
Joost Verburg
10th February 2004 18:48 UTC
Did you install the latest Windows Installer?
duermer
11th February 2004 15:06 UTC
No Where I can get the latest Version of Windows Installer?