Re: Include J# redistribuable package in a setup project

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: George Birbilis [MVP J#] [9880] (birbilis_at_kagi.com)
Date: 06/17/04


Date: Fri, 18 Jun 2004 00:59:20 +0300


> > The problem is that the J# redist requires that the .Net Framework be
> > installed first before it can be installed. There is a reboot that needs
to
> > occur between the installation of the .Net Framework and the J# redist.
> > You could just instruct your customers to install the J# redist
separately,
> > or perhaps write your own setup that does a reboot and then forces the
> > install afterwards. I'm not an expert in installers so you may want to
post
> > a question in the setup newsgroup
(microsoft.public.dotnet.framework.setup)
> > for more info.

detect .NET version and if not installed or earlier version than you need,
then
have your installer add an entry to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
to have your installer run again after the reboot
then run the .NET installer (closing your own installer)

Windows installer may be clever enough to do such things

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
George Birbilis <birbilis@kagi.com> [J# MVP9880]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ QuickTime VCL and ActiveX controls (for PowerPoint/VB/Delphi etc.)
+ Plugs VCL and ActiveX controls (InterProcess/Internet communication)
+ TransFormations, VB6 forms to ASP.net WebForms convertion
http://www.kagi.com/birbilis
+ Robotics
http://www.mech.upatras.gr/~robgroup
........................................................................



Relevant Pages

  • Re: Bad avi file playback
    ... installation and request a reboot when the installation finishes. ... applications and updates these files during startup. ... Antivirus programs do not access audio or video files and therefore their ... installer program can overwrite a file that is locked......if such a program ...
    (microsoft.public.windowsxp.moviemaker)
  • Re: Update to 5.2 beta from 5.1-current didnt work right
    ... The system booted multiuser correctly and appears to be operating correctly. ... but even with the new kernel the system won't boot into ... The installer had trouble, at one point reporting ...
    (freebsd-current)
  • Re: Update to 5.2 beta from 5.1-current didnt work right
    ... At the tail end of the cvsup, src had already been completed, the system ... In this state I couldn't get the system to respond, and had to reboot it. ... but even with the new kernel the system won't boot into ... The installer had trouble, at one point reporting ...
    (freebsd-current)
  • Re: Office 2007 Trial version crashes OS
    ... that doesn't create a problem because the writers of the setup program might have gone overboard with requiring a reboot (there is one setting that controls whether a windows installer package wants to reboot or not. ...
    (microsoft.public.office.setup)
  • Re: Bad avi file playback
    ... www.rehanfx.org - get transitions and effects for Windows MovieMaker ... > installation and request a reboot when the installation finishes. ... > installer places itself to be on the top of the list of autostart ... When playing the avi file in Windows ...
    (microsoft.public.windowsxp.moviemaker)