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.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- SUPPORTDIR in BASIC-MSI Setup
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 17, 2019
02:09 PM
Error 1721 When Installing
I have a Basic MSI project that had been working and somehow I must have inadvertently changed something, as I now get 1721 error when installing.
I am confident it is not the target machine because I can install successfully with a previous version of that installer.
My 'Required Execution Level' is Administrator.
I tried dropping back to the previous .ism file and building with that... still get the same 1721 error on this CA.
CA: CACert_1_Wire_Driver
Executable File Name:\certutil.exe
CommandLine: -addstore "TrustedPublisher" "[SUPPORTDIR]\MaximCert.cer"
Immediate Execution in UI Sequence After SetupProgress
The log shows:
MSI (c) (C4:88) [10:08:00:363]: Doing action: CACert_1_Wire_Driver
Action 10:08:00: CACert_1_Wire_Driver.
Action start 10:08:00: CACert_1_Wire_Driver.
MSI (c) (C4:88) [10:08:00:363]: Note: 1: 1721 2: CACert_1_Wire_Driver 3: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI9520.tmp 4: -addstore "TrustedPublisher" "C:\Users\ADMINI~1\AppData\Local\Temp\2\{2C13243C-7945-4FAA-A988-7C63AB821F7E}\MaximCert.cer"
Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: CACert_1_Wire_Driver, location: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI9520.tmp, command: -addstore "TrustedPublisher" "C:\Users\ADMINI~1\AppData\Local\Temp\2\{2C13243C-7945-4FAA-A988-7C63AB821F7E}\MaximCert.cer"
MSI (c) (C4:88) [10:09:39:648]: Product: PAR Express -- Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: CACert_1_Wire_Driver, location: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI9520.tmp, command: -addstore "TrustedPublisher" "C:\Users\ADMINI~1\AppData\Local\Temp\2\{2C13243C-7945-4FAA-A988-7C63AB821F7E}\MaximCert.cer"
Note that when it stops on the error I am able to execute this command successfully from the command line.
I have a Basic MSI project that had been working and somehow I must have inadvertently changed something, as I now get 1721 error when installing.
I am confident it is not the target machine because I can install successfully with a previous version of that installer.
My 'Required Execution Level' is Administrator.
I tried dropping back to the previous .ism file and building with that... still get the 1721 error on this CA.
CA: CACert_1_Wire_Driver
Executable File Name:\certutil.exe
CommandLine: -addstore "TrustedPublisher" "[SUPPORTDIR]\MaximCert.cer"
Immediate Execution in UI Sequence After SetupProgress
The log shows:
MSI (c) (C4:88) [10:08:00:363]: Doing action: CACert_1_Wire_Driver
Action 10:08:00: CACert_1_Wire_Driver.
Action start 10:08:00: CACert_1_Wire_Driver.
MSI (c) (C4:88) [10:08:00:363]: Note: 1: 1721 2: CACert_1_Wire_Driver 3: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI9520.tmp 4: -addstore "TrustedPublisher" "C:\Users\ADMINI~1\AppData\Local\Temp\2\{2C13243C-7945-4FAA-A988-7C63AB821F7E}\MaximCert.cer"
Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: CACert_1_Wire_Driver, location: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI9520.tmp, command: -addstore "TrustedPublisher" "C:\Users\ADMINI~1\AppData\Local\Temp\2\{2C13243C-7945-4FAA-A988-7C63AB821F7E}\MaximCert.cer"
MSI (c) (C4:88) [10:09:39:648]: Product: PAR Express -- Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: CACert_1_Wire_Driver, location: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI9520.tmp, command: -addstore "TrustedPublisher" "C:\Users\ADMINI~1\AppData\Local\Temp\2\{2C13243C-7945-4FAA-A988-7C63AB821F7E}\MaximCert.cer"
MaximCert.cer is in the SupportDir.
Note that when it stops on the error I am able to execute the command successfully from the command line.
I tried changing to this:
Executable File Name:\cmd.exe
CommandLine: dir
And I still get a 1721 error! What file is it not finding?
Thanks for any ideas.
I am confident it is not the target machine because I can install successfully with a previous version of that installer.
My 'Required Execution Level' is Administrator.
I tried dropping back to the previous .ism file and building with that... still get the same 1721 error on this CA.
CA: CACert_1_Wire_Driver
Executable File Name:
CommandLine: -addstore "TrustedPublisher" "[SUPPORTDIR]\MaximCert.cer"
Immediate Execution in UI Sequence After SetupProgress
The log shows:
MSI (c) (C4:88) [10:08:00:363]: Doing action: CACert_1_Wire_Driver
Action 10:08:00: CACert_1_Wire_Driver.
Action start 10:08:00: CACert_1_Wire_Driver.
MSI (c) (C4:88) [10:08:00:363]: Note: 1: 1721 2: CACert_1_Wire_Driver 3: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI9520.tmp 4: -addstore "TrustedPublisher" "C:\Users\ADMINI~1\AppData\Local\Temp\2\{2C13243C-7945-4FAA-A988-7C63AB821F7E}\MaximCert.cer"
Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: CACert_1_Wire_Driver, location: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI9520.tmp, command: -addstore "TrustedPublisher" "C:\Users\ADMINI~1\AppData\Local\Temp\2\{2C13243C-7945-4FAA-A988-7C63AB821F7E}\MaximCert.cer"
MSI (c) (C4:88) [10:09:39:648]: Product: PAR Express -- Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: CACert_1_Wire_Driver, location: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI9520.tmp, command: -addstore "TrustedPublisher" "C:\Users\ADMINI~1\AppData\Local\Temp\2\{2C13243C-7945-4FAA-A988-7C63AB821F7E}\MaximCert.cer"
Note that when it stops on the error I am able to execute this command successfully from the command line.
I have a Basic MSI project that had been working and somehow I must have inadvertently changed something, as I now get 1721 error when installing.
I am confident it is not the target machine because I can install successfully with a previous version of that installer.
My 'Required Execution Level' is Administrator.
I tried dropping back to the previous .ism file and building with that... still get the 1721 error on this CA.
CA: CACert_1_Wire_Driver
Executable File Name:
CommandLine: -addstore "TrustedPublisher" "[SUPPORTDIR]\MaximCert.cer"
Immediate Execution in UI Sequence After SetupProgress
The log shows:
MSI (c) (C4:88) [10:08:00:363]: Doing action: CACert_1_Wire_Driver
Action 10:08:00: CACert_1_Wire_Driver.
Action start 10:08:00: CACert_1_Wire_Driver.
MSI (c) (C4:88) [10:08:00:363]: Note: 1: 1721 2: CACert_1_Wire_Driver 3: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI9520.tmp 4: -addstore "TrustedPublisher" "C:\Users\ADMINI~1\AppData\Local\Temp\2\{2C13243C-7945-4FAA-A988-7C63AB821F7E}\MaximCert.cer"
Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: CACert_1_Wire_Driver, location: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI9520.tmp, command: -addstore "TrustedPublisher" "C:\Users\ADMINI~1\AppData\Local\Temp\2\{2C13243C-7945-4FAA-A988-7C63AB821F7E}\MaximCert.cer"
MSI (c) (C4:88) [10:09:39:648]: Product: PAR Express -- Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: CACert_1_Wire_Driver, location: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI9520.tmp, command: -addstore "TrustedPublisher" "C:\Users\ADMINI~1\AppData\Local\Temp\2\{2C13243C-7945-4FAA-A988-7C63AB821F7E}\MaximCert.cer"
MaximCert.cer is in the SupportDir.
Note that when it stops on the error I am able to execute the command successfully from the command line.
I tried changing to this:
Executable File Name:
CommandLine: dir
And I still get a 1721 error! What file is it not finding?
Thanks for any ideas.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 18, 2019
03:02 AM
Try to put MaximCert.cer to Binary Table.
Use
StreamFileFromBinary ( hInstall(HWND), svObjectBinaryKey, szFileName );
just before calling CACert_1_Wire_Driver.
Rewrite CACert_1_Wire_Driver CA to defined temp directory of MaximCert.cer
Use
StreamFileFromBinary ( hInstall(HWND), svObjectBinaryKey, szFileName );
just before calling CACert_1_Wire_Driver.
Rewrite CACert_1_Wire_Driver CA to defined temp directory of MaximCert.cer
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 18, 2019
01:31 PM
Thanks Roman.
Actually I got it working a few hours after my post. I tried to edit my post... but it threw me out because of some "security issue". It will not let me add the following to the original post.
Edit:
FWIW, I was able to get this working by discarding the above CA that launched an executable (this had been working, BTW) and replaced it with a CA that runs InstallScript code that does the same thing.
Actually I got it working a few hours after my post. I tried to edit my post... but it threw me out because of some "security issue". It will not let me add the following to the original post.
Edit:
FWIW, I was able to get this working by discarding the above CA that launched an executable (this had been working, BTW) and replaced it with a CA that runs InstallScript code that does the same thing.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 21, 2019
01:27 AM
From the IS Help:
In Basic MSI or InstallScript MSI projects, each InstallScript custom action initializes its own engine.
Each engine does not know where the primary SUPPORTDIR is,
and each engine does not extract its own private copy of the support files.
In Basic MSI or InstallScript MSI projects, each InstallScript custom action initializes its own engine.
Each engine does not know where the primary SUPPORTDIR is,
and each engine does not extract its own private copy of the support files.