Skip to content
⌘ NSIS Forum Archive

Access Runtime

15 posts

duermer#

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#
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#
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).
nandhp#
I don't quite understand. this should perform an automatic install for any .MSI, if you change the filenames.
duermer#
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#
You should probably include the .msi file in the installer, then extract it to the $TEMP directory, run it and then cleanup.

Vytautas
Vytautas#
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
Joost Verburg#