- Timestamp:
- Aug 23, 2012 3:39:31 PM (12 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 754c436
- Parents:
- bd0a2115
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/installer_generator.py
rc329f4d r615ef8d 145 145 146 146 147 #SA SVIEWPATH147 #SANSVIEWPATH 148 148 msg += """Root: HKLM; Subkey: "%s";\t""" % str('SYSTEM\CurrentControlSet\Control\Session Manager\Environment') 149 149 msg += """ValueType: %s; """ % str('expandsz') 150 msg += """ValueName: "%s";\t""" % str('SA SVIEWPATH')150 msg += """ValueName: "%s";\t""" % str('SANSVIEWPATH') 151 151 msg += """ValueData: "{app}";\t""" 152 152 msg += """ Flags: %s""" % str('uninsdeletevalue noerror') … … 158 158 msg += """ValueType: %s; """ % str('expandsz') 159 159 msg += """ValueName: "%s";\t""" % str('PATH') 160 msg += """ValueData: "%s;{olddata}";\t""" % str('%SA SVIEWPATH%')160 msg += """ValueData: "%s;{olddata}";\t""" % str('%SANSVIEWPATH%') 161 161 msg += """ Check: %s""" % str('NeedsAddPath()') 162 162 msg += "\n" … … 278 278 msg += """'PATH', oldpath)\n""" 279 279 msg += """ oldpath := oldpath + ';';\n""" 280 msg += """ newpath := '%SA SVIEWPATH%';\n"""280 msg += """ newpath := '%SANSVIEWPATH%';\n""" 281 281 msg += """ i := 0;\n""" 282 282 msg += """ while (Pos(';', oldpath) > 0) do begin\n"""
Note: See TracChangeset
for help on using the changeset viewer.