Changeset b33d4cf in sasview for sansview


Ignore:
Timestamp:
Jul 18, 2011 11:12:30 AM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
05ab3f0
Parents:
1f892de
Message:

move usrer sansviewpath to sys path

Location:
sansview
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansview/installer_generator.py

    r7f291a3 rb33d4cf  
    100100         
    101101        #SANSVIEWPATH 
    102         msg += """Root: HKCU; Subkey: "%s";\t"""  %  str('Environment') 
     102        msg += """Root: HKLM; Subkey: "%s";\t"""  %  str('SYSTEM\CurrentControlSet\Control\Session Manager\Environment') 
    103103        msg += """ValueType: %s; """ % str('expandsz') 
    104104        msg += """ValueName: "%s";\t""" % str('SANSVIEWPATH')  
  • sansview/installer_new.iss

    r7f291a3 rb33d4cf  
    3838Root: HKCR; Subkey: "{app}\images\ball.ico";    ValueType: string; ValueName: "";       ValueData: "{app}\SansView.exe,0" 
    3939Root: HKCR; Subkey: "{app}\SansView.exe\shell\open\command";    ValueType: string; ValueName: "";       ValueData: """{app}\SansView.exe""  ""%1""" 
    40 Root: HKCU; Subkey: "Environment";      ValueType: expandsz; ValueName: "SANSVIEWPATH"; ValueData: "{app}";      Flags: uninsdeletevalue 
     40Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment";     ValueType: expandsz; ValueName: "SANSVIEWPATH"; ValueData: "{app}";      Flags: uninsdeletevalue 
    4141; Write to PATH (below) is disabled; need more work 
    4242;Root: HKCU; Subkey: "Environment";     ValueType: expandsz; ValueName: "PATH"; ValueData: "%SANSVIEWPATH%;{olddata}";   Check: NeedsAddPath() 
Note: See TracChangeset for help on using the changeset viewer.