Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I suspect the crash occurs when you try to launch your exdcutables. the reasons could be various, for example UAC rights. But whar caught my attention is how you are using APPDIR property. You should first get its value in a separate variable, then append the. executable name to the variable to get the correct path.</p> <p>However, this will still not work because, I assume, you launch the script using a published event triggered by an action on your MSI dialog, that is before the files are installed, so your executables are not available.</p> <p>From the screenshot I assume you are using <a href="http://www.advancedinstaller.com" rel="nofollow">Advanced Installer</a> so you have two options to solve your problem: </p> <ol> <li>you can delete the files from Files view and add them again, this time using the "add temporary" file option, this will make them be available at the desired time. Temporary files also have attached an unique property, so you can use that to get their path, without being required ti construct it.</li> <li>you can add the setups as feature-based prerequisites, then go to Organization page and set install conditions on their features using your properties. Since normally the install conditions of a feature do not support using properties set from the MSI dialogs you will need to call the predefined custom action "update feature states" from the Next button of your dialog, so the feature states and install condtions are re-evaluated. This way you can eliminate your script, which is also not recommended to be used, antiviruses can flag your installer, vbscript engine might not work on the user machine, etc...</li> </ol>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload