In a similar fashion to Visual Studio 6.x, modify the VJ98IRW.STF file using acost.exe, from Visual Studio Developer 6.0, to install what is required.
Then run smsinst.exe from a command line:
z:\visual J++\smsinst.exe /k 3353353356
This will run smsinst for a very short period of time and then spawn a acmsetup.exe process. Acmsetup will carry out a silent install based on the options choosen in the .stf file.
Note that depending on the options choosen, you may get upto two certificate install popups.
Note also that if installing with SMS then it will immediately thinj the program has installed as smsinst spawns a child and terminates. To get round this you can use a batch file as a wrapper and check if acmsetup is still running. Thus only once the batch file finishes will SMS report that it has installed.
A sample script is below:
"i\smsinst.exe" /k 3353353356
:process_setup
cscript i:\sleep60.vbs
i:\pv.exe acmsetup.exe > nul
if errorlevel 1 goto end
goto process_setup
:end
pv.exe is a process viewer from the NTreskit and sleep60.vbs is a vbs script that pauses for 60 seconds.
> Note that depending on the options choosen, you may get upto > two certificate install popups.
This is because Microsoft certification for installation of VJ++ 6.0 is expired. export one microsoft trusted certificate to a file, then use this file to import before installation.
See also Microsoft's website article, "Add a Trusted Publisher to a Client Computer for ClickOnce Applications" certmgr.exe is from Microsoft Platform SDK.
Questions & Answers related to Microsoft Visual J++
Blogs (0)
Blog posts related to Microsoft Visual J++
Links (0)
Links related to Microsoft Visual J++
Reviews (0)
Reviews related to Microsoft Visual J++
This website uses cookies.
By continuing to use this site and/or clicking the "Accept" button you are providing consent
Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our
websites or when you do business with us. For more information about our
Privacy Policy and our data protection
efforts, please visit
GDPR-HQ