-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Acrobat 64-Bit #14
Comments
Hello, Are you sure is x64 version using same programId? |
I am not sure how to tell. I had the 32-bit version installed, it automatically updated to the 64-bit version. I then manually changed the default reader to be MS Edge as a test, then when I try to use the powershell -ExecutionPolicy Bypass -command "& { . C:\install\SFTA.ps1; Set-FTA 'AcroExch.Document.DC' '.pdf' }" command it does not change the default reader. |
I suppose it probably changed the program Id. I'm traveling, anyway I'll check next week and try to find a solution. |
Thanks |
Hello @medimetriks I get it working with this ProgramId Acrobat.Document.DC I run it like this: let me know if it works. Sorry for delay I just arrived a couple of hours ago. |
I'm away for the weekend, I'll try it on Monday.
Thanks,
Alan
Alan Koop
Director - Technology
Medimetriks Pharmaceuticals, Inc.
383 Route 46 West
Fairfield, NJ 07004
Office- 973-882-7512, ext. 553
Fax-973-882-7502
Mobile-973-553-0427
www.medimetriks.com
NOTICE: The content of this e-mail message and any attachments is
confidential, may be legally privileged and is intended solely for the use
of the intended recipient. If you are not the intended recipient, be
advised that any use, dissemination, distribution or copying of this e-mail
and any attachment is strictly prohibited. If you are not the intended
recipient, you should not review, retransmit, convert to hard copy, copy,
use or disseminate this e-mail or any attachment. If you have received
this e-mail in error, please immediately notify us by return e-mail and
delete this message and any attachment from your computer system. Thank you
…On July 23, 2022 1:28:21 PM Danyfirex ***@***.***> wrote:
Hello @medimetriks I get it working with this ProgramId Acrobat.Document.DC
I run it like this:
powershell -ExecutionPolicy Bypass -command "& { . .\SFTA.ps1; Set-FTA
'Acrobat.Document.DC' '.pdf' }"
let me know if it works. Sorry for delay I just arrived a couple of hours ago.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I just tried your suggestion but it still is not changing the default PDF viewer to Acrobat DC 64-bit version.
My test computer is a 64-bit Windows 11 (21H2) Surface Pro tablet.
Here is exactly what I did.
1. Installed the 32-bit version of Acrobat DC
2. Copied the SFTA.ps1 into c:\install folder
3. Executed your original code of powershell -ExecutionPolicy Bypass -command "& { . C:\install\SFTA.ps1; Set-FTA 'AcroExch.Document.DC' '.pdf' }"
a. At this point Acrobat DC was the default PDF viewer.
4. Acrobat DC updated to the 64-Bit version on its own
5. I changed the default PDF viewer back to MS Edge browser manually (Open width with the always open check box checked)
6. I then executed powershell -ExecutionPolicy Bypass -command "& { . C:\install\SFTA.ps1; Set-FTA 'AcroExch.Document.DC' '.pdf' }" command but it did not change the default viewer
7. I then tried your last suggestion of executing powershell -ExecutionPolicy Bypass -command "& { . C:\install\SFTA.ps1; Set-FTA ''Acrobat.Document.DC' '.pdf' }" but the default viewer is still MS Edge browser.
I am going to try uninstalling Acrobat DC, then directly installing the 64-Bit version of Acrobat DC, then trying to set the default viewer.
Any other suggestions?
Alan
Alan Koop
Director - Technology
Medimetriks Pharmaceuticals, Inc.
383 Route 46 West
Fairfield, NJ 07004
Office- 973-882-7512, ext. 553
Fax-973-882-7502
Mobile-973-553-0427
www.medimetriks.com <http://www.medimetriks.com/>
NOTICE: The content of this e-mail message and any attachments is confidential, may be legally privileged and is intended solely for the use of the intended recipient. If you are not the intended recipient, be advised that any use, dissemination, distribution or copying of this e-mail and any attachment is strictly prohibited. If you are not the intended recipient, you should not review, retransmit, convert to hard copy, copy, use or disseminate this e-mail or any attachment. If you have received this e-mail in error, please immediately notify us by return e-mail and delete this message and any attachment from your computer system. Thank you.
From: Danyfirex ***@***.***
Sent: Saturday, July 23, 2022 1:28 PM
To: DanysysTeam/PS-SFTA ***@***.***>
Cc: medimetriks ***@***.***>; Mention ***@***.***>
Subject: Re: [DanysysTeam/PS-SFTA] Acrobat 64-Bit (Issue #14)
Hello @medimetriks <https://github.com/medimetriks> I get it working with this ProgramId Acrobat.Document.DC
I run it like this:
powershell -ExecutionPolicy Bypass -command "& { . .\SFTA.ps1; Set-FTA 'Acrobat.Document.DC' '.pdf' }"
let me know if it works. Sorry for delay I just arrived a couple of hours ago.
—
Reply to this email directly, view it on GitHub <#14 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKLW3VS3W3UYYGCRSVECVDLVVQTTDANCNFSM53S7KVBQ> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AKLW3VSDROAAQME4HT5AOUDVVQTTDA5CNFSM53S7KVB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI4PC2XI.gif> Message ID: ***@***.*** ***@***.***> >
|
Could you run using -Verbose to check if It's failing? and paste console output here, |
Is the –Verbose part of the Powershell command? When I try to add it I get the following:
C:\Users\MediRep>powershell -ExecutionPolicy Bypass -Verbose -command ""&" {. c:\install\SFTA.ps1; Set-FTA 'Acrobat.Document.DC' '.pdf'}"
…-Verbose : The term '-Verbose' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
+ -Verbose -command
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-Verbose:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Alan Koop
Director - Technology
Medimetriks Pharmaceuticals, Inc.
383 Route 46 West
Fairfield, NJ 07004
Office- 973-882-7512, ext. 553
Fax-973-882-7502
Mobile-973-553-0427
www.medimetriks.com <http://www.medimetriks.com/>
NOTICE: The content of this e-mail message and any attachments is confidential, may be legally privileged and is intended solely for the use of the intended recipient. If you are not the intended recipient, be advised that any use, dissemination, distribution or copying of this e-mail and any attachment is strictly prohibited. If you are not the intended recipient, you should not review, retransmit, convert to hard copy, copy, use or disseminate this e-mail or any attachment. If you have received this e-mail in error, please immediately notify us by return e-mail and delete this message and any attachment from your computer system. Thank you.
From: Danyfirex ***@***.***
Sent: Tuesday, July 26, 2022 9:33 AM
To: DanysysTeam/PS-SFTA ***@***.***>
Cc: medimetriks ***@***.***>; Mention ***@***.***>
Subject: Re: [DanysysTeam/PS-SFTA] Acrobat 64-Bit (Issue #14)
Could you run using -Verbose to check if It's failing? and paste console output here,
—
Reply to this email directly, view it on GitHub <#14 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKLW3VUGONSUEUC4SOSUZ7TVV7SKNANCNFSM53S7KVBQ> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AKLW3VQE3WYYETI7IO7P3ULVV7SKNA5CNFSM53S7KVB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI5A34UY.gif> Message ID: ***@***.*** ***@***.***> >
|
this: |
It doesn’t like the –Verbose. See below.
C:\Users\MediRep>powershell -ExecutionPolicy Bypass -Verbose -command ""&" {. c:\install\SFTA.ps1; Set-FTA 'Acrobat.Document.DC' '.pdf' -Verbose}"
…-Verbose : The term '-Verbose' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
+ -Verbose -command
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-Verbose:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Alan Koop
Director - Technology
Medimetriks Pharmaceuticals, Inc.
383 Route 46 West
Fairfield, NJ 07004
Office- 973-882-7512, ext. 553
Fax-973-882-7502
Mobile-973-553-0427
www.medimetriks.com <http://www.medimetriks.com/>
NOTICE: The content of this e-mail message and any attachments is confidential, may be legally privileged and is intended solely for the use of the intended recipient. If you are not the intended recipient, be advised that any use, dissemination, distribution or copying of this e-mail and any attachment is strictly prohibited. If you are not the intended recipient, you should not review, retransmit, convert to hard copy, copy, use or disseminate this e-mail or any attachment. If you have received this e-mail in error, please immediately notify us by return e-mail and delete this message and any attachment from your computer system. Thank you.
From: Danyfirex ***@***.***
Sent: Tuesday, July 26, 2022 9:53 AM
To: DanysysTeam/PS-SFTA ***@***.***>
Cc: medimetriks ***@***.***>; Mention ***@***.***>
Subject: Re: [DanysysTeam/PS-SFTA] Acrobat 64-Bit (Issue #14)
this:
powershell -ExecutionPolicy Bypass -Verbose -command ""&" {. c:\install\SFTA.ps1; Set-FTA 'Acrobat.Document.DC' '.pdf' -Verbose}"
—
Reply to this email directly, view it on GitHub <#14 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKLW3VXHRMK4NKC4WJ4IRN3VV7UUPANCNFSM53S7KVBQ> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AKLW3VWRVKW5JVCVZXYGJT3VV7UUPA5CNFSM53S7KVB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI5BBXZI.gif> Message ID: ***@***.*** ***@***.***> >
|
Try like this:
|
That worked! It looks like Acrobat is now the default viewer too!!!
Here is the output:
C:\Users\MediRep>powershell -ExecutionPolicy Bypass -command "& { . 'c:\install\SFTA.ps1'; Set-FTA 'Acrobat.Document.DC' '.pdf' -Verbose }"
VERBOSE: ProgId: Acrobat.Document.DC
VERBOSE: Extension/Protocol: .pdf
VERBOSE: Getting Hash For Acrobat.Document.DC .pdf
VERBOSE: Use Get-UserSid
VERBOSE: baseInfo: .pdfs-1-5-21-1707439469-2689279175-4168427093-1002acrobat.document.dc01d8a0f91ceca000user choice set via windows user experience
{d18b6dd5-6124-4341-9318-804003bafa0b}
VERBOSE: Hash: lc1ytN3zRIc=
VERBOSE: Write Reg ApplicationAssociationToasts OK: Acrobat.Document.DC_.pdf
VERBOSE: Write Reg ApplicationAssociationToastsList OK: Applications\Acrobat.exe_.pdf
VERBOSE: Write Reg ApplicationAssociationToastsList OK: Applications\AcroRd32.exe_.pdf
VERBOSE: Write Reg ApplicationAssociationToastsList OK: Applications\winword.exe_.pdf
VERBOSE: Write Reg ApplicationAssociationToastsList OK: MSEdgePDF_.pdf
VERBOSE: Write Reg ApplicationAssociationToastsList OK: Acrobat.Document.DC_.pdf
VERBOSE: Write Reg ApplicationAssociationToastsList OK: (default)_.pdf
VERBOSE: Write Reg ApplicationAssociationToastsList OK: MSEdgePDF_.pdf
VERBOSE: Write Registry Extension: .pdf
VERBOSE: Remove Extension UserChoice Key If Exist: Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice
VERBOSE: Write Reg Extension UserChoice OK
Alan Koop
Director - Technology
Medimetriks Pharmaceuticals, Inc.
383 Route 46 West
Fairfield, NJ 07004
Office- 973-882-7512, ext. 553
Fax-973-882-7502
Mobile-973-553-0427
www.medimetriks.com <http://www.medimetriks.com/>
NOTICE: The content of this e-mail message and any attachments is confidential, may be legally privileged and is intended solely for the use of the intended recipient. If you are not the intended recipient, be advised that any use, dissemination, distribution or copying of this e-mail and any attachment is strictly prohibited. If you are not the intended recipient, you should not review, retransmit, convert to hard copy, copy, use or disseminate this e-mail or any attachment. If you have received this e-mail in error, please immediately notify us by return e-mail and delete this message and any attachment from your computer system. Thank you.
From: Danyfirex ***@***.***
Sent: Tuesday, July 26, 2022 10:05 AM
To: DanysysTeam/PS-SFTA ***@***.***>
Cc: medimetriks ***@***.***>; Mention ***@***.***>
Subject: Re: [DanysysTeam/PS-SFTA] Acrobat 64-Bit (Issue #14)
Try like this:
powershell -ExecutionPolicy Bypass -command "& { . 'c:\install\SFTA.ps1'; Set-FTA 'Acrobat.Document.DC' '.pdf' -Verbose }"
—
Reply to this email directly, view it on GitHub <#14 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKLW3VSWHSJR4QHIRQQT6DDVV7WCDANCNFSM53S7KVBQ> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AKLW3VXSB5VCZYNQPYULKZTVV7WCDA5CNFSM53S7KVB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI5BFPPI.gif> Message ID: ***@***.*** ***@***.***> >
|
It seems to be the error was the PowerShell command line call. You can remove -verbose string. |
Thanks for all the help, I really appreciate it.
Alan
Alan Koop
Director - Technology
Medimetriks Pharmaceuticals, Inc.
383 Route 46 West
Fairfield, NJ 07004
Office- 973-882-7512, ext. 553
Fax-973-882-7502
Mobile-973-553-0427
www.medimetriks.com <http://www.medimetriks.com/>
NOTICE: The content of this e-mail message and any attachments is confidential, may be legally privileged and is intended solely for the use of the intended recipient. If you are not the intended recipient, be advised that any use, dissemination, distribution or copying of this e-mail and any attachment is strictly prohibited. If you are not the intended recipient, you should not review, retransmit, convert to hard copy, copy, use or disseminate this e-mail or any attachment. If you have received this e-mail in error, please immediately notify us by return e-mail and delete this message and any attachment from your computer system. Thank you.
From: Danyfirex ***@***.***
Sent: Tuesday, July 26, 2022 10:13 AM
To: DanysysTeam/PS-SFTA ***@***.***>
Cc: medimetriks ***@***.***>; Mention ***@***.***>
Subject: Re: [DanysysTeam/PS-SFTA] Acrobat 64-Bit (Issue #14)
It seems to be the error was the PowerShell command line call. You can remove -verbose string.
—
Reply to this email directly, view it on GitHub <#14 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKLW3VTSV7Q2WWOBAOUP6DDVV7W53ANCNFSM53S7KVBQ> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AKLW3VWTI2NJJBJFVSY4RHLVV7W53A5CNFSM53S7KVB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI5BHUZY.gif> Message ID: ***@***.***>
|
This worked great for making the 32-bit version of Acrobat Reader the default for PDFs but Acrobat Reader updated to the 64-Bit and this no longer works.
Any ideas how to make the 64-bit version the default?
The text was updated successfully, but these errors were encountered: