[PD-dev] inno setup

Georg Werner georg at fricklr.de
Wed Jun 3 11:11:48 CEST 2009


hi hans,

i made a patch with code to check for a previous version of pd (but only 
if this is in the same directory you want to install the new one to)
and offers the possibility to uninstall first.
cheers
g.


Hans-Christoph Steiner schrieb:
> 
> Ok, that's a good start!   Could you generate a patch and send it to 
> me?  Its not hard if you have  SVN installed. I'll bet TortoiseSVN or 
> other GUIs can do it.  From the command line, you would do this:
> 
> cd pure-data/packages/win32_inno/
> svn diff pd-inno.iss.in   > alwaysoverwrite.patch
> 
> But the question I have, is that going to cause any problems?  Like if a 
> file is removed in a new release, and you install the new version over 
> the old one, will that file still stay there, left over from the old 
> release?
> 
> I wonder how people deal with that, perhaps there is a way to compare 
> two installers, and then configure the new installer to only delete the 
> files that it must.
> 
> Perhaps its better to continute this on pd-dev, so others can 
> participate and its in the archive.
> 
> .hc
> 
> On Apr 21, 2009, at 5:40 PM, Georg Werner wrote:
> 
>> hi,
>>
>> i just gave it a shot ;)
>> i read the documentation and think i found the lines (in 
>> pd-inno.iss.in) where the problem lies:
>>
>> 341 Source: build\bin\*.*; DestDir: {app}\bin; Flags: ignoreversion 
>> confirmoverwrite recursesubdirs uninsremovereadonly
>>  342 Source: build\doc\*.*; DestDir: {app}\doc; Flags: ignoreversion 
>> confirmoverwrite recursesubdirs uninsremovereadonly; Attribs: readonly
>>
>> i think the confirmoverwrite flag is causing the trouble - 
>> alwaysoverwrite would be better in this case.
>>
>> same in these lines:
>> 351 Source: build\lib*.dll; DestDir: {sys}; Flags: restartreplace 
>> confirmoverwrite sharedfile
>>  352 Source: build\pthread*.dll; DestDir: {sys}; Flags: restartreplace 
>> confirmoverwrite sharedfile
>>
>> hope this helps
>> cheers
>> g.
>>
>>
>> Hans-Christoph Steiner schrieb:
>>> Hey,
>>> I forgot whether I mentioned this before.  One thing that would 
>>> improve the newbies experience using Pd-extended on Windows is to 
>>> make sure that the installer works smoothly.  It uses Inno Setup, 
>>> which is a nice GUI program that is decently documented.  Want to 
>>> give that a shot?
>>> One specific complaint is that you have to uninstall Pd-extended 
>>> before you can upgrade.  It would be nice if it would automatically 
>>> overwrite or uninstall the old copy.
>>> .hc
>>> ---------------------------------------------------------------------------- 
>>> Man has survived hitherto because he was too ignorant to know how to 
>>> realize his wishes.  Now that he can realize them, he must either 
>>> change them, or perish.    -William Carlos Williams
>>
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------------- 
> 
> 
> "It is convenient to imagine a power beyond us because that means we 
> don't have to examine our own lives.", from "The Idols of 
> Environmentalism", by Curtis White
> 
> 
> 
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pdUninstallOldVersionFirstCode.patch
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20090603/8e2c4acb/attachment.txt>


More information about the Pd-dev mailing list