[wpkg-users] Installation/upgrade of same package on different architectures
Justin Brinegar
brinegar at physics.unc.edu
Thu Sep 24 23:27:25 CEST 2009
Similarly, is there a tag that can differentiate between different
versions of Windows?
We plan to use the output of the ver command to differentiate in
scripts, but I just wondered if a better way existed.
Best,
Justin
Pendl Stefan wrote:
>> Hi,
>> Im trying to figure out how to update same package on different OS
>> architectures (i.e. x86 and x64), for example tortoise svn.
>> Creating two package profiles probably would not work as one (for the
>> wrong architecture) would be installed and the right one updated. I
>> guess you can fiddle with the priority but that would be a
>> hack at best.
>> Another option would be to do an additional check for environmental
>> variable %PROCESSOR_ARCHITECURE%
>> My question is, does wpkg package has a special tag that
>> would limit the
>> application of the package automatically, i.e.
>> <architecture=x86|x64 />
>>
>> Cheers
>>
>> Luk
>
> Luk,
> there is no such attribute.
>
> See http://wpkg.org/Notepad_plus_plus for an example of installing a 32-bit application on x86 and AMD64.
>
> See http://wpkg.org/UltraDefrag for an example of using a 64-bit or 32-bit installer, depending on the platform.
>
> The second example could be changed to include the PROCESSOR_ARCHITECTURE in the installer name, which will reduce the install and upgrade commands by one and simplify the commands.
>
> <install cmd='"%SOFTWARE%\UltraDefrag\ultradefrag-micro-edition-3.0.0.bin.%PROCESSOR_ARCHITECTURE%.exe" /S /NCRC' />
>
> For this one would need to change i386 to x86 for the 32-bit installer.
>
> ---
> Stefan
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>
>
--
Justin Brinegar
..brinegar at physics.unc.edu
..(919) 962 - 6494
..Assistant Windows Administrator
..Physics & Astronomy Networking Infrastructure and Computing
..University of North Carolina at Chapel Hill
More information about the wpkg-users
mailing list