Notepad 6.7.5 packaging edit default Save As location & Updates
Hello I need help packaging the above note pad ++ version. I have run the .exe and captured this into an MSi which is deploying nicely. However I would like to ensure that users are not confronted with the update prompt as well as change the default save As location to the users My Documents. I can see that these two settings are controlled by the following XML file C:\Users\%USERNAME%\AppData\Roaming\Notepad++\config.xml. My question is how can I edit this file? It is generated when the program is launched not at install. Additional how can I pass the environment variable %USERNAME% to the xml file.
I assuming you have to edit the MSI to say at launch (Self Repair) do the following - set environment variable - copy file to location - Edit XML file with environment variable
XML extract that controls Save As path:
<GUIConfig name="openSaveDir" value="0" defaultDirPath="NEED PATH HERE" />
XML extract that controls Updates:
<GUIConfig name="noUpdate" intervalDays="15" nextUpdateDate="20080426">no</GUIConfig>
Im using Admin Studio, deploying to Windows 7 64bit.
Not sure how this can be achieved?
Answer Chosen by the Author
Once packaging is complete modify the following files
These will define if updates are run and where the Save As defaults to.
INI files may not be captured by Admin Studio depending on your Admin Studio settings
Also I used Active Setup to deploy these to the App Data folder.
Answered 05/13/2015 by: stavbergenstein
Please log in to comment
log in to commentPlease