Changeset c329f4d in sasview for sansview/installer_generator.py


Ignore:
Timestamp:
Aug 20, 2012 6:54:46 PM (12 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:
a338547
Parents:
5401f2a
Message:

changed sansview name to sansview (gui only)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/installer_generator.py

    re3ef8dd4 rc329f4d  
    124124    msg += """ValueType: %s; """ % str('string') 
    125125    msg += """ValueName: "%s";\t""" % str('')  
    126     msg += """ValueData: "{app}\%s";\t""" % str("SansView File")  
     126    msg += """ValueData: "{app}\%s";\t""" % str("SasView File")  
    127127    msg += """ Flags: %s \t""" % str("uninsdeletekey  noerror") 
    128128    msg += "\n" 
     
    145145 
    146146     
    147     #SANSVIEWPATH 
     147    #SASVIEWPATH 
    148148    msg += """Root: HKLM; Subkey: "%s";\t"""  %  str('SYSTEM\CurrentControlSet\Control\Session Manager\Environment') 
    149149    msg += """ValueType: %s; """ % str('expandsz') 
    150     msg += """ValueName: "%s";\t""" % str('SANSVIEWPATH')  
     150    msg += """ValueName: "%s";\t""" % str('SASVIEWPATH')  
    151151    msg += """ValueData: "{app}";\t""" 
    152152    msg += """ Flags: %s""" % str('uninsdeletevalue noerror') 
     
    158158    msg += """ValueType: %s; """ % str('expandsz') 
    159159    msg += """ValueName: "%s";\t""" % str('PATH')  
    160     msg += """ValueData: "%s;{olddata}";\t""" % str('%SANSVIEWPATH%') 
     160    msg += """ValueData: "%s;{olddata}";\t""" % str('%SASVIEWPATH%') 
    161161    msg += """ Check: %s""" % str('NeedsAddPath()') 
    162162    msg += "\n" 
     
    197197    msg += """Source: "dist\*";\tDestDir: "{app}";\t""" 
    198198    msg += """Flags: ignoreversion recursesubdirs createallsubdirs\n""" 
    199     msg += """Source: "dist\plugin_models\*";\tDestDir: "{userappdata}\..\.sansview\plugin_models";\t"""  
     199    msg += """Source: "dist\plugin_models\*";\tDestDir: "{userappdata}\..\.sasview\plugin_models";\t"""  
    200200    msg += """Flags: recursesubdirs createallsubdirs\n""" 
    201     msg += """Source: "dist\config\custom_config.py";\tDestDir: "{userappdata}\..\.sansview\config";\t"""  
     201    msg += """Source: "dist\config\custom_config.py";\tDestDir: "{userappdata}\..\.sasview\config";\t"""  
    202202    msg += """Flags: recursesubdirs createallsubdirs\n""" 
    203203    msg += """;\tNOTE: Don't use "Flags: ignoreversion" on any shared system files""" 
     
    278278    msg += """'PATH', oldpath)\n""" 
    279279    msg += """  oldpath := oldpath + ';';\n""" 
    280     msg += """  newpath := '%SANSVIEWPATH%';\n""" 
     280    msg += """  newpath := '%SASVIEWPATH%';\n""" 
    281281    msg += """  i := 0;\n""" 
    282282    msg += """  while (Pos(';', oldpath) > 0) do begin\n""" 
Note: See TracChangeset for help on using the changeset viewer.