/build/static/layout/Breadcrumb_cap_w.png

VBS to replace a text in a file

Hi,

I have source which is installed silently and some post configuration is implemented in blank ISM template. Now the new requirement from client is to add a value for a text file which is getting generated during the launch of the shortcut under Installdir Location.

So, my query is, by adding vbs to the post configuration MSI will work or do I have to capture the application and point VBS to the shortcut?


Any suggestions and ideas would be great.

6 Comments   [ + ] Show comments
  • Is the value that you want to add different on every machines or is it getting resolved by something? If that is fixed, then why don't you just launch the shortcut and grab the file and put the value there and include it in the package? - dj_xest 10 years ago
  • I need to edit a line in the text file called as "ui.properties" which is getting generated once the shortcut is launched. - Scorp18 10 years ago
  • Below is the requirement from the client ->
    The file "ui.properties" which gets installed to location "C:\CostOS Estimating 4" has a property of "lang.flavor=".
    The value of this property needs to be set as "lang.flavor=en_UK" - Scorp18 10 years ago
  • Pick up that ui.properties, add the value and include it in your package. - dj_xest 10 years ago
  • yes, great it worked. As that file was generating post launching shortcut, i was afraid to implement this scenario. Well, it worked. Thanks :) - Scorp18 10 years ago
  • Great then! Can you mark this as answered? - dj_xest 10 years ago

Answers (0)

Be the first to answer this question

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ