3/20/2021 0 Comments Msde Install
Please take a minute to review the new Terms of Service and Privacy Policy.I require help in the following areas.Check if a particular version of MSDE is Installed.
Upgrade if the MSDE version is older than 2000. Installation of MSDE through merge modules. I have done this through the windows installer but it bugs me. My installation package needs to check for two things before it decides on the installation methodology. Check if.NET Framework is installed (a function is already available with NSIS to check this) 2. If NOT then the installation needs to invoke the MSDE Installation process also. You could use that to look for the existence of the MSDE service. ![]() Msde Archive Application ThatMaybe you can extract it using an archive application that supports CAB compression (which is the compression Microsoft uses for most installers). Most common archivers support CAB compression, it wont be difficult to find out. I also start the service after it is installed or upgraded with another function which determines OS and starts it accordingly. ![]() I include a default config ini if the installer cant get the config off the net. I believe the method I use to compare versions is inacurate as I am having an issue with another program in the installer with majorminor version numbers where the string length of the newer version is less than the older one and the intcmp fails because of this. Msde .Exe L INSTDIRmsdeupCall RemoveStr Pop R1 IntCmp R0 R1 lbldone lblup lbldone StrCpy R0 OK GoTo lbldone lblup: MessageBox MBYESNOMBICONQUESTIONMBDEFBUTTON1 MSDE Version R0 Needs Updating to R1 Would you like me to try: IDNO lbldone SetOutPath INSTDIR ifdef INSMSDE call DLMSDE endif ifndef INSMSDE File r QPSINMSDE endif ExecWait INSTDIRMSDEsetpw.bat ExecWait INSTDIRMSDESetup.exe l INSTDIRmsdeup.log upgradesp SQLRUN INSTANCENAMEMSSQLServer SECURITYMODESQL UPGRADEUSERsa UPGRADEPWDpassword MessageBox MBOK WAIT Goto lbldone lblno:;SetOutPath INSTDIRMSDE SetOutPath INSTDIR ifdef INSMSDE call DLMSDE goto lblins endif ifndef INSMSDE File r QPSINMSDE endif lblins: MessageBox MBOK INSTALLING MSDE call updateMSDEPath ExecWait INSTDIRMSDESetup.exe l INSTDIRmsde.log SQLRUN SECURITYMODESQL SAPWDpassword StrCpy R0 NO Goto lbldone lbldone: call startMSDE SectionGetFlags SecM3 R1 IntOp R2 R1 0x80000000 IntCmp R2 0 Start Skip Start: call StartApps goto done Skip: define MSDEONLY TRUE done: Exch R0 FunctionEnd. Powered by vBulletin Version 3.8.6 Copyright 2000 - 2020, Jelsoft Enterprises Ltd.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |