Skip to content

Commit

Permalink
TISTUD-6647 Studio can't find Java virtual machine on launch after in…
Browse files Browse the repository at this point in the history
…stall on a fresh Windows machine
  • Loading branch information
sgtcoolguy committed Jun 19, 2014
1 parent 00fa439 commit a8f1f1c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions builders/com.aptana.win.installer/AptanaStudio.aip
Expand Up @@ -180,6 +180,10 @@
<ROW Action="SET_APPDIR" Type="307" Source="APPDIR" Target="[ProgramFilesFolder][Manufacturer]\[ProductName]" MultiBuildTarget="DefaultBuild:[AppDataFolder][Manufacturer]\[ProductName]"/>
<ROW Action="SET_SHORTCUTDIR" Type="307" Source="SHORTCUTDIR" Target="[ProgramMenuFolder][ProductName]"/>
<ROW Action="SET_TARGETDIR_TO_APPDIR" Type="51" Source="TARGETDIR" Target="[APPDIR]"/>
<ROW Action="SetProperty" Type="51" Source="JAVA_BIN_PATH" Target="[ProgramFilesFolder]Java\jre7\bin"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiEnvComponent">
<ROW Environment="Path" Name="=Path" Value="[~];[JAVA_BIN_PATH]" Component_="AI_ExePath"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiEventMappingComponent">
<ROW Dialog_="ProgressDlg" Control_="ProgressBar" Event="AiGlobalProgress" Attribute="Progress" MsiKey="ProgressDlg#ProgressBar#SetProgress"/>
Expand All @@ -197,6 +201,7 @@
<ROW Action="AI_VerifyPrereq" Sequence="1101"/>
<ROW Action="AI_GetArpIconPath" Sequence="51"/>
<ROW Action="AI_RemoveExternalUIStub" Condition="(REMOVE=&quot;ALL&quot;) AND ((VersionNT &gt; 500) OR((VersionNT = 500) AND (ServicePackLevel &gt;= 4)))" Sequence="1501"/>
<ROW Action="SetProperty" Condition="NOT %Path &gt;&lt; &quot;\Java\&quot;" Sequence="211"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiInstallUISequenceComponent">
<ROW Action="ExecuteAction" Sequence="1299" SeqType="0" MsiKey="ExecuteAction"/>
Expand Down
5 changes: 5 additions & 0 deletions builders/com.aptana.win.installer/Aptana_Studio_3_Setup.aip
Expand Up @@ -201,6 +201,10 @@
<ROW Action="SET_APPDIR" Type="307" Source="APPDIR" Target="[ProgramFilesFolder][Manufacturer]\[ProductName]" MultiBuildTarget="DefaultBuild:[AppDataFolder][Manufacturer]\[ProductName]"/>
<ROW Action="SET_SHORTCUTDIR" Type="307" Source="SHORTCUTDIR" Target="[ProgramMenuFolder][ProductName]"/>
<ROW Action="SET_TARGETDIR_TO_APPDIR" Type="51" Source="TARGETDIR" Target="[APPDIR]"/>
<ROW Action="SetProperty" Type="51" Source="JAVA_BIN_PATH" Target="[ProgramFilesFolder]Java\jre7\bin"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiEnvComponent">
<ROW Environment="Path" Name="=Path" Value="[~];[JAVA_BIN_PATH]" Component_="AI_ExePath"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiEventMappingComponent">
<ROW Dialog_="ProgressDlg" Control_="ProgressBar" Event="AiGlobalProgress" Attribute="Progress" MsiKey="ProgressDlg#ProgressBar#SetProgress"/>
Expand Down Expand Up @@ -230,6 +234,7 @@
<ROW Action="AI_VerifyPrereq" Sequence="1101"/>
<ROW Action="AI_GetArpIconPath" Sequence="51"/>
<ROW Action="AI_RemoveExternalUIStub" Condition="(REMOVE=&quot;ALL&quot;) AND ((VersionNT &gt; 500) OR((VersionNT = 500) AND (ServicePackLevel &gt;= 4)))" Sequence="1501"/>
<ROW Action="SetProperty" Condition="NOT %Path &gt;&lt; &quot;\Java\&quot;" Sequence="211"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiInstallUISequenceComponent">
<ROW Action="ExecuteAction" Sequence="1299" SeqType="0" MsiKey="ExecuteAction"/>
Expand Down

0 comments on commit a8f1f1c

Please sign in to comment.