web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Cannot open setup.exe

(0) ShareShare
ReportReport
Posted on by

I ran Dynamics Ax installer and then pressed install Microsoft Dynamics Ax components. This error appeared : "Cannot open 'C:\setup.exe' AutoRun=1" .So How can i solve this issue ?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    236,320 Most Valuable Professional on at
    RE: Cannot open setup.exe

    I moved your question from the answered thread about Visual Studio integration, because it didn't belong there.

    Now tell us what file you tried to run before getting the error and whether your installation files are really in on the C: drive.

  • Verified answer
    Umesh Pandit Profile Picture
    9,315 User Group Leader on at
    RE: Cannot open setup.exe

    To resolve this issue, you can use one of the following options:

    Before you run Setup, use the Default Programs Control Panel to associate the .hta file type with the HTML Application Host program.

    If you are prompted to choose a program with which to open setup.exe, choose HTML Application Host.

    Right-click the file setup.exe and choose Run as administrator.

    Right-click the file setup.exe and choose Properties. Click the Compatibility tab. Under Compatibility mode, select Windows 7.

    technet.microsoft.com/.../ee355063.aspx;MSPPError=-2147217396

    technet.microsoft.com/.../ee355063.aspx

  • Suggested answer
    raelhefn Profile Picture
    on at
    RE: Cannot open setup.exe

    you cannot install AX component directly from component directory you must install it through AX installation wizard by selecting component from installation list

    If this error occurred from original installation file

    Try run as administrator

    check any installed antivirus prevent your installation to start

    your windows version is supported by AX

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Cannot open setup.exe

    Please close the wizard and re-run the setup again.

    Also if you are getting the error while opening the setup.exe itself then Umesh solutio is perfect!!

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Cannot open setup.exe

    i too faced it earlier , umesh solution worked for me.

  • Community Member Profile Picture
    on at
    RE: Cannot open setup.exe

    Thanks all for your reply :)

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Cannot open setup.exe

    None of the answers worked for me I had to copy the media into the client machine.

  • Xin Duan Profile Picture
    517 on at
    RE: Cannot open setup.exe

    Finally solved according to https://superuser.com/questions/1322203/trying-to-run-an-hta-gives-this-app-cant-run-on-your-pc 

    Add file type with ftype command:
    ftype htafile=C:\Windows\SysWOW64\mshta.exe "%1" {1E460BD7-F1C3-4B2E-88BF-4E770A288AF5}%U{1E460BD7-F1C3-4B2E-88BF-4E770A288AF5} %*
    Associate .hta extension with assoc command:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans