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
Access Runtime
15 posts
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
for better understanding:
I want that my Installation install not only my files that it also install Access Runtime
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).
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).
And this should go with all msi files
I don't quite understand. this should perform an automatic install for any .MSI, if you change the filenames.
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.
What must I do exactly that I could write the whole path.
You should probably include the .msi file in the installer, then extract it to the $TEMP directory, run it and then cleanup.
Vytautas
Vytautas
OK Thanks.
But I have one problem.
On Windows Xp it runs but on Windows 98 msi do not run
But I have one problem.
On Windows Xp it runs but on Windows 98 msi do not run
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
Vytautas
Yep, I heard about that when I had a Win98. Try to update it, duermer.
Ok but can nobody write me the answer for this problem
Did you install the latest Windows Installer?
No Where I can get the latest Version of Windows Installer?