Running SDB files in Custom Action:
i. Select New EXE -> Stored in Binary Table.
ii. Browse the cmd file in Executable file name (C:\windows\system32\cmd.exe)
iii. Use the command: /C sdbinst.exe -q "[INSTALLDIR]<filename>.sdb"
iv. Select the condition and sequence (we can select ‘After InstallFiles’ usually).
v. To uninstall: /C sdbinst.exe -q -u "[WindowsFolder]AppPatch\Custom\Custom64\{fe973ca9-a291-4d84-8eed-4715ef0af471}.sdb"
No comments:
Post a Comment