Hi. Just bought and installed PB v3 yesterday. Of course, as seems to be the typical case, I bought to finish a task that was due the day before
Anyway, the task is fairly simple:
-unpack 4 files into a known location (I have chosen the userâs Desktop for simplicity sake);
-run one of those files (âAIA.exeâ, that I cannot change, supplied by a 3rd party);
-copy a result file with a âPIAâ extension âupâ to the Desktop folder (when run âAIA.exeâ automatically creates a subfolder âInformationâ beneath its own folder).
From the âPackage: Main Eventsâ dialog I have created 2 âafter file extractionâ custom actions: âExecute the program â%DESKTOPDIR%\AIA.exeâ and wait until its endâ, with a working directory of â%DESKTOPDIR%â specified; followed by 'Copy files from â%DESKTOPDIR%\Information*.PIAâ to â%DESKTOPDIR%â.
The extraction of the files goes as planned: the 4 files are created in my Desktop folder. However, it is unclear that âAIA.exeâ is run. I have tested running âAIA.exeâ many times from both the original and PB-extracted copies, and it without fail creates the âInformationâ subfolder containing the target âPIAâ file. However, when run from the package, âInformationâ is not created. Iâm not sure if âAIA.exeâ is not run at all, or if it is behaving differently in the 2 different cases. If it matters, I also specified in the extraction options that the target folder should be opened in Explorer, which is not strictly needed, in case that is a potential complication. This seems to be a very simple task, I suspect that either there is some basic requirement in PB that I have missed, or if some Windows âfeatureâ (testing on Win 7 SP1 64-bit) is getting in my way. Can you help?
Thanks.
-Scott
-unpack 4 files into a known location (I have chosen the userâs Desktop for simplicity sake);
-run one of those files (âAIA.exeâ, that I cannot change, supplied by a 3rd party);
-copy a result file with a âPIAâ extension âupâ to the Desktop folder (when run âAIA.exeâ automatically creates a subfolder âInformationâ beneath its own folder).
From the âPackage: Main Eventsâ dialog I have created 2 âafter file extractionâ custom actions: âExecute the program â%DESKTOPDIR%\AIA.exeâ and wait until its endâ, with a working directory of â%DESKTOPDIR%â specified; followed by 'Copy files from â%DESKTOPDIR%\Information*.PIAâ to â%DESKTOPDIR%â.
The extraction of the files goes as planned: the 4 files are created in my Desktop folder. However, it is unclear that âAIA.exeâ is run. I have tested running âAIA.exeâ many times from both the original and PB-extracted copies, and it without fail creates the âInformationâ subfolder containing the target âPIAâ file. However, when run from the package, âInformationâ is not created. Iâm not sure if âAIA.exeâ is not run at all, or if it is behaving differently in the 2 different cases. If it matters, I also specified in the extraction options that the target folder should be opened in Explorer, which is not strictly needed, in case that is a potential complication. This seems to be a very simple task, I suspect that either there is some basic requirement in PB that I have missed, or if some Windows âfeatureâ (testing on Win 7 SP1 64-bit) is getting in my way. Can you help?
Thanks.
-Scott
Last edited: