Ah, then you do want to support upgrades. Get your upgrade scenario right,
and you won't have to worry about having a consistent shortcut name.

Read up on "Major Upgrades" here:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa369786(v=vs.85).aspx.
This will cause the old version to be uninstalled as part of installing the
new version.

Or you might want to explore "Minor Upgrades" which are slightly lighter
weight:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa370037(v=vs.85).aspx
.



On Tue, May 21, 2013 at 9:34 AM, BGINFO4X <bginf...@kztsoftware.com> wrote:

> 2013/5/21 Mike Carlson <corf...@gmail.com>:
> > You should be able to. Create the shortcut in your own authoring file. To
> > point to the file in the generated authoring, see the "Target" attribute
> of
> > the shortcut element in wix.chm.
> >
>
> Thanks a lot , I will try it.
>
> I have a conceptual question regarding shortcuts:
>
> I want the installer creates a shortcut in the startup folder for all
> users, so the program is started automatically each time the users
> logon.
>
> If the user install a new version without uninstalling the previous
> one, then two versions of the program will be executed, and this is
> not desirable.
>
> Is a good practice to create always the same name in the shortcut in
> the manner that newer versions overwrite the previous shortcut?
>
> How to manage this situation?
>
> Thanks a lot.
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to