Avatar of bjbrown
bjbrown
Flag for United States of America asked on

Recommended approuch to automated software installation.

Greetings experts,

I have a COTS application that requires a bit of manual tweeking to get it to run. It's a client server app and the client piece requires registry entries, environmental varible additions, UAC disabling, well you get the picture. To pass this task along to a, let's say less technical individual, I was considering developing an app that would prompt you through the install. I'm looking for your recommendation as to what might be the best means to accomplish this such as C#, VB, Batch or ????

Thanks experts,

Brian
Microsoft SQL Server 2008Microsoft DevelopmentMicrosoft Legacy OS

Avatar of undefined
Last Comment
bjbrown

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
arnold

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
McKnife

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
bjbrown

ASKER
Thanks for the replies;

I'm using VS2010 and I'm interested in automating the entier installation process. Please tell me more about the VS install builder. The client install goes something like this;

 Copy the following folders from the old cnf directory
o Bin
o Cnf
o Hlp
o Log
o Sql
o Tmp
¿ Add a APP environment variable
o From Control Panel, select ‘System’
o Select ‘Advanced’ tab
o Select ‘Environment Variables’ tab
o Under ‘System Variables’, select ‘New’
¿ Add ‘APP’ as the variable name
¿ Add ‘C:\APP’ as the variable value
o Select ‘OK’
¿ Edit the path environment Variable
o Locate and highlight the system variable that says ‘Path’
o Select ‘Edit’
o Without deleting anything, scroll to the end of the variable value field and type ‘;C:\APP\bin’
o Select ‘OK’ 3 times to close out of system properties
¿ Modify temp/tmp environment Variable
o Locate and highlight the system variables TEMP and TMP
o Change to ‘C:\TEMP’
¿ Copy the registry key from DS/NM of old PC
o Go to Start-Run of the old computer, and type ‘regedit’
o In the registry editor screen, navigate to [HKEY_LOCAL_MACHINE\SOFTWARE\APPManu\Global]
o Right click on the ‘Global’ folder and select export to export the file to a known location.
o Right click on the newly exported registry entry and select ‘edit’ (If the workstation is a 64 bit machine, edit the path to read [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\APPManu\Global])
o Verify that the Base Directory entry reads ‘Base Directory’ = ‘C:\APP’
o Verify that the System Type shows ‘System Type’ = ‘dword:00000003’ for DS; or ‘dword:00000004’ for NM
o Delete the line that shows ‘DS DBMS’ or ‘NM DBMS’
o Verify that the SYSCON Host entry shows the IP address of the Data System/Network Manager
o Verify that the SYSCON Eng entry shows the engine name of the database to be accessed
o Save and close the registry entry.
¿ Copy the registry key to the new workstation computer and double-click to install it
o Select ‘Yes’ to add the information to the registry.
¿ Copy Sybase 9 client and install. Restart PC.
¿ Copy an icon to the desktop launch GFI. Verify that the path for the shortcut is changed to C:\APP\bin\APP.exe
¿
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23