charlesc
08-31-2004, 10:45 AM
hi,
i'm subing for someone who is on vacation for a while, and have to send out a vb .net program for installation earlier than expected. the company uses setup factory 6.0 for its installations.
before the program itself installs, dotnetfx.exe has to be run to install the .net framework 1.1 if it is not yet on the end users machine, and mdac_typ.exe has to be run to install MDAC, if the users machine doesn't have mdac 2.6 or later.
i'm not well acquainted with installations or with the registry, and don't have virgin machines to test various setups, see what happens, and install/uninstall the .net framework, and the MDAC, and try again and again.
i think i understand what i need to do but don't know how to do it in setup factory 6.0.
i think i need to quiz the registry to find out if .net framework 1.1 has been installed, if yes don't run dotnetfx.exe, if not run it.
with mdac, quiz the registry if any mdac was installed, if not then run mdac_typ.exe. if mdac does exist on the user machine check if the users mdac version is under 2.6. if it is run mdac_typ.exe, if not don't run it.
i don't know which registry entries to check for this, and against which values to test those entries, and i don't know how to do this in setup factory 6.0.
these 2 files exist in the 'misc' folder off the root directory of the proposed CD.
so far what i have in the Actions/Before installing section is:
Execute(%SrcDrv%\misc\dotnetfx.exe), and /q:a /c:"Install /q" as its command line argument which i was told will make a silent install of .net which is what i want.
Execute(%SrcDrv%\misc\mdac_typ.exe), comand line arguments /c:"setup.exe /QN1" to again make it a silent install.
i would appreciate if someone could give me the text that would be in the Actions/Before installing section to do the above, and any other comments about if i'm doing this correctly.
thanks for your help
charles cullen
i'm subing for someone who is on vacation for a while, and have to send out a vb .net program for installation earlier than expected. the company uses setup factory 6.0 for its installations.
before the program itself installs, dotnetfx.exe has to be run to install the .net framework 1.1 if it is not yet on the end users machine, and mdac_typ.exe has to be run to install MDAC, if the users machine doesn't have mdac 2.6 or later.
i'm not well acquainted with installations or with the registry, and don't have virgin machines to test various setups, see what happens, and install/uninstall the .net framework, and the MDAC, and try again and again.
i think i understand what i need to do but don't know how to do it in setup factory 6.0.
i think i need to quiz the registry to find out if .net framework 1.1 has been installed, if yes don't run dotnetfx.exe, if not run it.
with mdac, quiz the registry if any mdac was installed, if not then run mdac_typ.exe. if mdac does exist on the user machine check if the users mdac version is under 2.6. if it is run mdac_typ.exe, if not don't run it.
i don't know which registry entries to check for this, and against which values to test those entries, and i don't know how to do this in setup factory 6.0.
these 2 files exist in the 'misc' folder off the root directory of the proposed CD.
so far what i have in the Actions/Before installing section is:
Execute(%SrcDrv%\misc\dotnetfx.exe), and /q:a /c:"Install /q" as its command line argument which i was told will make a silent install of .net which is what i want.
Execute(%SrcDrv%\misc\mdac_typ.exe), comand line arguments /c:"setup.exe /QN1" to again make it a silent install.
i would appreciate if someone could give me the text that would be in the Actions/Before installing section to do the above, and any other comments about if i'm doing this correctly.
thanks for your help
charles cullen