Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,

I have a problem that I know I'm really close to solving and was wondering if anyone out there had an answer.

I have a bunch of folders and files that get copied to a temp directory. Here's my structure.

<Fragment>
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="TempFolder">
        <Directory Id="ArcGISTempDir" Name="ArcGIS_Engine_Runtime_10_1" />
      </Directory>
    </Directory>
  </Fragment>

On the install computer the folder and contents get copied to
C:\Users\DEMO_User\AppData\Local\Temp\ArcGIS_Engine_Runtime_10_1

This is what I'm expecting.

I have a CustomAction that looks like this.

<CustomAction Id="ArcGISRuntime_CA" Directory="ArcGISTempDir" Execute="deferred" ExeCommand="Setup.msi INSTALLDIR=C:\ArcGIS INSTALLDIR1="%programfiles%\Python27" SEAT_PREFERENCE_ENGINE=Fixed ENGINE_CONFIG=TRUE /qb" Return="asyncWait" HideTarget="no" Impersonate="no" />

I have it set up in the <installsetupsequence> properly because I have something executing after this one.

I need to be able to run the setup.msi found on the install computer's directory
C:\Users\DEMO_User\AppData\Local\Temp\ArcGIS_Engine_Runtime_10_1
. How do I setup the CustomAction to kick off on the install computer when it's supposed to kick off in the InstallSetupSequence?

Am I heading in the right direction?

Any help would be much appreciated.

What I have tried:

I've also got it displayed as a <feature> just in case.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900