Code Monkey home page Code Monkey logo

Comments (15)

medimetriks avatar medimetriks commented on August 10, 2024 1

from ps-sfta.

Danyfirex avatar Danyfirex commented on August 10, 2024

Hello, Are you sure is x64 version using same programId?

from ps-sfta.

medimetriks avatar medimetriks commented on August 10, 2024

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.

from ps-sfta.

Danyfirex avatar Danyfirex commented on August 10, 2024

I suppose it probably changed the program Id. I'm traveling, anyway I'll check next week and try to find a solution.

from ps-sfta.

medimetriks avatar medimetriks commented on August 10, 2024

I suppose it probably changed the program Id. I'm traveling, anyway I'll check next week and try to find a solution.

Thanks

from ps-sfta.

Danyfirex avatar Danyfirex commented on August 10, 2024

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.

from ps-sfta.

medimetriks avatar medimetriks commented on August 10, 2024

from ps-sfta.

medimetriks avatar medimetriks commented on August 10, 2024

from ps-sfta.

Danyfirex avatar Danyfirex commented on August 10, 2024

Could you run using -Verbose to check if It's failing? and paste console output here,

from ps-sfta.

medimetriks avatar medimetriks commented on August 10, 2024

from ps-sfta.

Danyfirex avatar Danyfirex commented on August 10, 2024

this:
powershell -ExecutionPolicy Bypass -Verbose -command ""&" {. c:\install\SFTA.ps1; Set-FTA 'Acrobat.Document.DC' '.pdf' -Verbose}"

from ps-sfta.

medimetriks avatar medimetriks commented on August 10, 2024

from ps-sfta.

Danyfirex avatar Danyfirex commented on August 10, 2024

Try like this:

powershell -ExecutionPolicy Bypass -command "& { . 'c:\install\SFTA.ps1'; Set-FTA 'Acrobat.Document.DC' '.pdf' -Verbose }"

from ps-sfta.

medimetriks avatar medimetriks commented on August 10, 2024

from ps-sfta.

Danyfirex avatar Danyfirex commented on August 10, 2024

It seems to be the error was the PowerShell command line call. You can remove -verbose string.

from ps-sfta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.