Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Problem with button to open .exe in a subfolder

New Here ,
Jun 03, 2013 Jun 03, 2013

Hello to all,

I have a problem:

I need to create a flash presentation where there will be two buttons that, when clicked, will each install a different program.

The problem is this: These files. Exe files are in a subfolder like this:

Certisign

--> Certisign

--> AICCertisign.exe

AICOAB

--> Certisign

--> AICOAB.exe

I created the folder fscommand put these folders inside it, and Action Script in flash made ​​as follows:

programa1.onRelease = function(){
fscommand("exec", "Certisign/AICCertisign.exe");
}

programa2.onRelease = function(){
fscommand("exec", "AICOAB/AICOAB.exe");
}

But when generating the executable presentation, write it on a CD and try to run the facilities by clicking on the buttons they do not work;

Please could someone help me?

TOPICS
ActionScript
1.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 03, 2013 Jun 03, 2013

that i couldn't tell you.

i can only say it was created by dino rogers and was attached to this forum about 5 or 6 years ago.  because of a major adobe forum revision a few years ago, his message and file link may no longer exist.

Translate
Community Expert ,
Jun 03, 2013 Jun 03, 2013

your executables must be in a folder named fscommand in the directory path of your exe or you must use something like dinorogers fscfixed.exe.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 03, 2013 Jun 03, 2013

I created the folder fscommand put these folders inside it.

And Action Script in flash made ​​as follows:

programa1.onRelease = function(){
fscommand("exec", "Certisign/AICCertisign.exe");
}

programa2.onRelease = function(){
fscommand("exec", "AICOAB/AICOAB.exe");
}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 03, 2013 Jun 03, 2013

again, your executables must be in a folder named fscommand (not a subdirectory of fscommand) in the directory path of your exe or you must use something like dinorogers fscfixed.exe.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 03, 2013 Jun 03, 2013

But as you can see in the folders, as I do not have to leave the. exe inside the fscommand folder, because there are two folders with the same name, VeriSign, but the contents are different, each exe search inside this folder the files needed to installing programs.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 03, 2013 Jun 03, 2013

are you saying your have an exe file outside the fscommand directory that works with your fscommand("exec",...) function?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 03, 2013 Jun 03, 2013

No! See the folder structure:

Folder fscommand


    -->Forder Certisign

        --> Folder Certisign (here are the files needed to install the program. I can not change the name, not the path of it, it must be by the executable file as it is the path where the executable file will fetch the file information)

        --> File AICCertisign.exe

     --> Forder AICOAB

        --> Folder Certisignhere are the files needed to install the program. I can not change the name, not the path of it, it must be by the executable file as it is the path where the executable file will fetch the file information)

        -->File  AICOAB.exe

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 03, 2013 Jun 03, 2013

then, as mentioned previously, you have to use a proxy executer like fscfixed.

google dino rogers' fscfixed to see if it's still available.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 03, 2013 Jun 03, 2013

Sorry, my English is not very good, and did not quite understand what you mean by the fscfixed.

In a quick search on the internet, I have the program fscfixed.exe, and he should be in the fscommand folder, and in line with the AS code should I replace the line of code:

fscommand ("exec", "Certisign/AICCertisign.exe");

For something like:

System.setClipboard ("fscommand /Certisign/AICCertisign.exe");

fscommand ("exec", "FSCFixed.exe");

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 03, 2013 Jun 03, 2013

yes, that last code snippet looks close.

if it fails, try:

System.setClipboard ("Certisign/AICCertisign.exe");

fscommand ("exec", "FSCFixed.exe");

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 03, 2013 Jun 03, 2013

Where u can find this file "FSCFixed.exe"? I did a search but did not find.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 03, 2013 Jun 03, 2013
LATEST

that i couldn't tell you.

i can only say it was created by dino rogers and was attached to this forum about 5 or 6 years ago.  because of a major adobe forum revision a few years ago, his message and file link may no longer exist.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines