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

Notifications

Announcements

No record found.

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
    237,823 Most Valuable Professional on at

    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

    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

    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

    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

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

  • Community Member Profile Picture
    on at

    Thanks all for your reply :)

  • Suggested answer
    Community Member Profile Picture
    on at

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

  • Xin Duan Profile Picture
    517 on at

    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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans