Changeset dd16ad6 in sasview


Ignore:
Timestamp:
Oct 16, 2011 8:42:50 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:
a490860
Parents:
66f7016
Message:

more flexible setup

Location:
sansview
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansview/installer_generator.py

    rc648414 rdd16ad6  
    119119            msg += """ValueName: "%s";\t""" % str('') 
    120120            msg += """ValueData: "{app}\%s";\t""" % str(APPLICATION) 
    121             msg += """ Flags: %s""" % str('uninsdeletevalue') 
     121            msg += """ Flags: %s""" % str('uninsdeletevalue  noerror') 
    122122            msg += "\n" 
    123123    msg += """Root: HKCR; Subkey: "{app}\%s";\t""" % str(APPLICATION) 
     
    125125    msg += """ValueName: "%s";\t""" % str('')  
    126126    msg += """ValueData: "{app}\%s";\t""" % str("SansView File")  
    127     msg += """ Flags: %s \t""" % str("uninsdeletekey") 
     127    msg += """ Flags: %s \t""" % str("uninsdeletekey  noerror") 
    128128    msg += "\n" 
    129129         
     
    140140    msg += """ValueType: %s; """ % str('string') 
    141141    msg += """ValueName: "%s";\t""" % str('')  
    142     msg += """ValueData: "{app}\%s,0"\n""" % str(APPLICATION) 
     142    msg += """ValueData: "{app}\%s,0";\t""" % str(APPLICATION) 
     143    msg += """ Flags: %s \t""" % str("uninsdeletevalue noerror") 
     144    msg += "\n"   
    143145 
    144146     
     
    148150    msg += """ValueName: "%s";\t""" % str('SANSVIEWPATH')  
    149151    msg += """ValueData: "{app}";\t""" 
    150     msg += """ Flags: %s""" % str('uninsdeletevalue') 
     152    msg += """ Flags: %s""" % str('uninsdeletevalue noerror') 
    151153    msg += "\n" 
    152154     
  • sansview/installer_new.iss

    r0d7426b rdd16ad6  
    4444Root: HKCU;     Subkey: "Software\Classes\.sans\OpenWithList\SansView.exe";      Flags: uninsdeletekey noerror 
    4545Root: HKCU; Subkey: "Software\Classes\applications\SansView.exe\shell\open\command";    ValueType: string; ValueName: "";       ValueData: """{app}\SansView.exe""  ""%1""";     Flags: uninsdeletevalue noerror 
    46 Root: HKCR;     Subkey: ".svs"; ValueType: string;      ValueName: "";  ValueData: "{app}\SansView.exe";         Flags: uninsdeletevalue 
    47 Root: HKCR;     Subkey: ".fitv";        ValueType: string;      ValueName: "";  ValueData: "{app}\SansView.exe";         Flags: uninsdeletevalue 
    48 Root: HKCR;     Subkey: ".inv"; ValueType: string;      ValueName: "";  ValueData: "{app}\SansView.exe";         Flags: uninsdeletevalue 
    49 Root: HKCR;     Subkey: ".prv"; ValueType: string;      ValueName: "";  ValueData: "{app}\SansView.exe";         Flags: uninsdeletevalue 
    50 Root: HKCR; Subkey: "{app}\SansView.exe";       ValueType: string; ValueName: "";       ValueData: "{app}\SansView File";        Flags: uninsdeletekey  
     46Root: HKCR;     Subkey: ".svs"; ValueType: string;      ValueName: "";  ValueData: "{app}\SansView.exe";         Flags: uninsdeletevalue  noerror 
     47Root: HKCR;     Subkey: ".fitv";        ValueType: string;      ValueName: "";  ValueData: "{app}\SansView.exe";         Flags: uninsdeletevalue  noerror 
     48Root: HKCR;     Subkey: ".inv"; ValueType: string;      ValueName: "";  ValueData: "{app}\SansView.exe";         Flags: uninsdeletevalue  noerror 
     49Root: HKCR;     Subkey: ".prv"; ValueType: string;      ValueName: "";  ValueData: "{app}\SansView.exe";         Flags: uninsdeletevalue  noerror 
     50Root: HKCR; Subkey: "{app}\SansView.exe";       ValueType: string; ValueName: "";       ValueData: "{app}\SansView File";        Flags: uninsdeletekey  noerror          
    5151Root: HKCR; Subkey: "{app}\SansView.exe\shell\open\command";    ValueType: string; ValueName: "";       ValueData: """{app}\SansView.exe""  ""%1""";     Flags: uninsdeletevalue noerror         
    52 Root: HKCR; Subkey: "{app}\images\ball.ico";    ValueType: string; ValueName: "";       ValueData: "{app}\SansView.exe,0" 
    53 Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment";     ValueType: expandsz; ValueName: "SANSVIEWPATH"; ValueData: "{app}";      Flags: uninsdeletevalue 
     52Root: HKCR; Subkey: "{app}\images\ball.ico";    ValueType: string; ValueName: "";       ValueData: "{app}\SansView.exe,0";       Flags: uninsdeletevalue noerror         
     53Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment";     ValueType: expandsz; ValueName: "SANSVIEWPATH"; ValueData: "{app}";      Flags: uninsdeletevalue noerror 
    5454; Write to PATH (below) is disabled; need more tests 
    5555;Root: HKCU; Subkey: "Environment";     ValueType: expandsz; ValueName: "PATH"; ValueData: "%SANSVIEWPATH%;{olddata}";   Check: NeedsAddPath() 
Note: See TracChangeset for help on using the changeset viewer.