Allaire was just all wrong on this one, making it difficult to configure for running HomeSite 4.5 as a non-privileged user. Essentially, every time the program is launched it tries to rewrite the HKEY_CLASSES_ROOT entries it uses. Now, in Win2k and XP, if your app tries to write to HKCR and you're not privileged, it will write to HKEY_CURRENT_USER\SOFTWARE\Classes instead (HKCR is a virtual blend of HKLM\SOFTWARE\Classes and HKCR\SOFTWARE\Classes on the newer OSes). However, Allaire apparently used an old API that makes sure the entries are trying for HKLM.
So, here's the registry entries you'll need to open up:
1) Unregister the Allaire DLLs by running the following commands (from the Run command on the Start menu, or from a DOS window):
regsvr32.exe /u CfShellFtpRds.dll
regsvr32.exe /u CFFileProxy.dll
regsvr32.exe /u cfssvradmin.dll
regsvr32.exe /u cfvalidator.dll
regsvr32.exe /u CFSourceControl.ocx
regsvr32.exe /u CFRegExp.dll
regsvr32.exe /u wddx_com.dll
regsvr32.exe /u cfrds.dll
regsvr32.exe /u CFFtp.dll
regsvr32.exe /u circ3.ocx
regsvr32.exe /u CFSDebug.dll (Studio only)
2) Select Start, Setting, Control Panel
3) In Control Panel open Add/Remove Programs
4) Scroll down until you see HomeSite 4.5 or ColdFusion Studio 4.5 and select it.
5) Select Add/Remove. That will remove the program.
Note: If there is no entry for HomeSite 4.5 or ColdFusion Studio 4.5 in this Add/Remove list, click Cancel and run the following command by picking the Run command from the Windows Start menu:
IsUninst.exe -f"C:\Program Files\Allaire\HomeSite 4.5\Uninst.isu"
(use the correct path for your installation)
6) Now, select Start, Run again and type regedit
7)Delete the HKEY_CURRENT_USER\Software\Allaire\HomeSite45 (or Studio45) key. If you do not have any other Allaire product on your system then delete the HKEY_CURRENT_USER\Software\Allaire key.
8) Exit regedit and open Windows Explorer
9) Select the folder you installed HomeSite 4.5 or ColdFusion Studio 4.5 into (e.g., C:\Program Files\Allaire\HomeSite 4.5) and delete it.
10) If you there other HomeSite/Studio applications remaining on your PC, they must now be either uninstalled or reinstalled.
"Setup.exe -r " creates an answer file (setup.iss) in the system directory. Simply go through the setup as desired, to create the answer file (installation will actually be performed.)
Copy the answer file into a network shared folder, along with the CD contents, and create a batch file or shortcut with the following line: "Setup.exe /s /SMS"
The result is a silent installation of the software (the SMS switch will force the command to wait until complete before continuing to close the command prompt window or perform subsequent actions that may be included in your batch file or calling program). The serial number entered during the creation of the answer file is included in the silent installation.
Remember different Operating Systems or system configurations may require their own answer files. Although no one has reported an issue with this particular software package, varying system configurations can often result in a variance in the dialogs displayed during installation- this would result in a failure to complete a silent installation. Always test thoroughly!
If you're repackaging HomeSite 4.5 with a Setup Capture, make sure you reboot at the end of the install (as required) and then run both HomeSite and TopStyleLite programs with a privileged (admin) user account <u>before</u> completing the snapshot and capturing the results.
If your package is destined for a locked-down system, see the lockdown notes I've included on this page as well. If your Capture didn't get all of those HKCR registry keys, you'd better include them <u>and</u> set the right permissions on them, too.