This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
jstatham
Level 4
- Revenera Community
- :
- About jstatham
May 27, 2022
03:16 PM
I don't know what might be best, but here are some thoughts:
If you're so inclined, creating a dll to do this would probably work well. If that's not an option you can do this pretty well with a powershell or vbscript custom action. If you're concerned about possible security blocks you could write something up in InstallScript to do this. To get you started on that you can check-out GetFileInfo, that will get you the date, there's a link to an example on that page. Loop through all the files/folders, checking the date on each, and delete it if it matches the criteria. Here's a link to all the File/Folder functions. I hope some of this helps!
... View more
Apr 28, 2022
07:53 AM
remove the quotes around "Not versionNT64"
... View more
Feb 02, 2021
10:07 AM
Sorry, I just re-read your question. What I said will run the batch file as local system (not admin) but it appears the issue you have is actually being returned from SQL Server. You might need to add a user to SQL Server with permission to alter the role. So you either need to not run the custom action deferred and add the local user to SQL login with permission to modify roles, or make the action deferred and possibly add system as a user.
... View more
Jun 30, 2020
06:11 AM
Hi @jstatham ,
Going further editing/creating pre-requisite,you can try doing yourself.
Steps to follow:
Create prq from any template of SQL Express pre-requisite
Edit the install registry condition which you could easily find online
Update the physical exe if you could download & keep into folder else download-able link
Important thing would be command-line parameters,that too i had already shared a link which Microsoft updates periodically on every release.Sample Install command line for SQL Server 2019 would be:
setup.exe /Q /IACCEPTSQLSERVERLICENSETERMS /ACTION="install" /PID="AAAAA-BBBBB-CCCCC-DDDDD-EEEEE" /FEATURES=SQL,AS,IS,Tools /INSTANCENAME=MSSQLSERVER /SQLSVCACCOUNT="MyDomain\MyAccount" /SQLSVCPASSWORD="************" /SQLSYSADMINACCOUNTS="MyDomain\MyAccount " /AGTSVCACCOUNT="MyDomain\MyAccount" /AGTSVCPASSWORD="************" /ASSVCACCOUNT="MyDomain\MyAccount" /ASSVCPASSWORD="************" /ISSVCAccount="MyDomain\MyAccount" /ISSVCPASSWORD="************" /ASSYSADMINACCOUNTS="MyDomain\MyAccount"
Reference link:https://docs.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-from-the-command-prompt?view=sql-server-ver15
I am attaching SQL Server 2019 Express for your reference,please consider this as template going further
Thanks,
Jenifer
... View more
Aug 25, 2014
10:29 AM
Are you trying to put the values for two different attributes into a single attribute? You should have two different attributes listed in the grid. Otherwise the engine has to escapes the parts that look like a second attribute.
... View more
Jul 24, 2014
01:23 PM
The fact that setting this value outside of setup is a problem. I do not think it is possible to get the password for a particular service. As far as I know all windows service information can be obtained in the registry under: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ The name 'ObjectName' contains the login name. I do not see where password is held. Perhaps someone else has more information, but for the time being I know you can get the user name.
... View more
Nov 15, 2011
01:49 PM
[LIST=1] When you run the setup.exe -r using Command Prompt, are you launching the command prompt as an admin? Does it launch the installer as expected? Do you complete the installation successfully? Does it create msi log for the installation? If it does, can you share the log? Which operating system are you on?
... View more
Latest posts by jstatham
Subject | Views | Posted |
---|---|---|
632 | May 23, 2022 03:22 PM | |
1215 | Apr 26, 2022 09:11 AM | |
1230 | Apr 25, 2022 03:37 PM | |
2376 | Jan 29, 2021 04:05 PM | |
7775 | Jun 29, 2020 08:59 AM | |
7783 | Jun 25, 2020 02:04 PM | |
7794 | Jun 25, 2020 01:54 PM | |
7807 | Jun 23, 2020 08:58 AM | |
7826 | Jun 19, 2020 09:45 AM | |
1623 | Aug 22, 2014 03:06 PM |
Activity Feed
- Posted Delete all files from a folder by create date on InstallShield Forum. May 23, 2022 03:22 PM
- Posted Re: Custom action always running ignores conditions on InstallShield Forum. Apr 26, 2022 09:11 AM
- Posted Custom action always running ignores conditions on InstallShield Forum. Apr 25, 2022 03:37 PM
- Posted Help with Custom Action Not running bat file as Administrator on InstallShield Forum. Jan 29, 2021 04:05 PM
- Posted Re: SQL Server 2012 to 2019 upgrade help on InstallShield Forum. Jun 29, 2020 08:59 AM
- Posted Re: SQL Server 2012 to 2019 upgrade help on InstallShield Forum. Jun 25, 2020 02:04 PM
- Posted Re: SQL Server 2012 to 2019 upgrade help on InstallShield Forum. Jun 25, 2020 01:54 PM
- Posted Re: SQL Server 2012 to 2019 upgrade help on InstallShield Forum. Jun 23, 2020 08:58 AM
- Posted SQL Server 2012 to 2019 upgrade help on InstallShield Forum. Jun 19, 2020 09:45 AM
- Tagged SQL Server 2012 to 2019 upgrade help on InstallShield Forum. Jun 19, 2020 09:45 AM
- Posted XML file changes and XML encoding help on InstallShield Forum. Aug 22, 2014 03:06 PM
- Posted Re: Remembering User and Password when Uninstalling and Reinstalling on InstallShield Forum. Jul 24, 2014 08:46 AM
- Posted Remembering User and Password when Uninstalling and Reinstalling on InstallShield Forum. Jul 23, 2014 02:29 PM
- Tagged Remembering User and Password when Uninstalling and Reinstalling on InstallShield Forum. Jul 23, 2014 02:29 PM
- Tagged Remembering User and Password when Uninstalling and Reinstalling on InstallShield Forum. Jul 23, 2014 02:29 PM
- Posted iss file on InstallShield Forum. Nov 15, 2011 01:39 PM
- Posted Cannot get iss file to creat on InstallShield Forum. Nov 11, 2011 12:25 PM
- Posted Help with Success or Failure on InstallShield Forum. Nov 10, 2011 02:34 PM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Apr 26, 2024
10:29 PM
|