Re: Problems with a C++ Setup project
- From: "Max Schneider, Image Innovation" <max@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 17 Jun 2005 17:52:13 -0400
Okay...I'll do some digging through the documentation.
Thanks again,
Max
"Phil Wilson" <pdjwilson@xxxxxxxxxxxxxx> wrote in message
news:OigQv40cFHA.796@xxxxxxxxxxxxxxxxxxxxxxx
> People typically do it with a custom action conditioned on the checkbox
> property. There's a Windows Script Host doc example "Creating a Shortcut".
> I'm not sure what the C++ etc equivalent is. VBScript will work in a
> custom action.
> --
> Phil Wilson
> [Microsoft MVP-Windows Installer]
>
> "Max Schneider, Image Innovation" <max@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote
> in message news:jaqse.1347$Gp.128@xxxxxxxxxxx
>> Thanks, Phil...part 1 worked great!
>>
>> I take it from your comment on item 2 that it's not possible to
>> conditionally install the shortcuts via VS then?
>>
>>
>> Thanks again and regards,
>>
>> Max
>>
>> "Phil Wilson" <pdjwilson@xxxxxxxxxxxxxx> wrote in message
>> news:uDvEAgocFHA.3280@xxxxxxxxxxxxxxxxxxxxxxx
>>> 1. The issue here is that the SendTo folder doesn't seem to work with
>>> advertised shortcuts, which is what Visual Studio and Windows Installer
>>> generate. It does work if you edit the MSI file manually (Orca from the
>>> Windows Installer section ofthe Platform SDK) and add to the property
>>> table the property DISABLEADVTSHORTCUTS (case sensitive) and give it a
>>> value of 1. The shortcuts then are not advertised shortcuts.
>>>
>>> 2. VS is a bit misleading in this area. The creation of shortcuts is
>>> bound to the installation of the file, so you can't have one without the
>>> other despite the condition.
>>> --
>>> Phil Wilson
>>> [Microsoft MVP-Windows Installer]
>>> Definitive Guide to Windows Installer
>>> http://apress.com/book/bookDisplay.html?bID=280
>>>
>>> "Max Schneider, Image Innovation" <max@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
>>> wrote in message news:496se.2320$uS2.952@xxxxxxxxxxx
>>>> I'm working on my first Setup project using VC++ 2003 Standard Edition
>>>> and have run into a couple of problems:
>>>>
>>>> 1. In the File System, I added the User's Send To folder via Add
>>>> Special Folder, created a shortcut to Primary Output (Active) in the
>>>> Application Folder, and dragged this to the Send To Folder. However,
>>>> even though the shortcut is deployed to the SendTo folder, it doesn't
>>>> seem to work. The same shortcut does work in the Quick Launch tray and
>>>> on the Desktop.
>>>>
>>>> 2. I want make the shortcuts optional, so I added Checkboxes (A) to the
>>>> user interface before the Installation Folder dialog under Install,
>>>> named a checkbox CBDESKTOP, and then added CBDESKTOP=1 to the User's
>>>> Desktop Condition property. However, even if the checkbox is not set,
>>>> the shortcut is still created.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Max
>>>>
>>>
>>>
>>
>>
>
>
.
- References:
- Problems with a C++ Setup project
- From: Max Schneider, Image Innovation
- Re: Problems with a C++ Setup project
- From: Phil Wilson
- Re: Problems with a C++ Setup project
- From: Max Schneider, Image Innovation
- Re: Problems with a C++ Setup project
- From: Phil Wilson
- Problems with a C++ Setup project
- Prev by Date: Re: Error List Messages?
- Next by Date: strange link error
- Previous by thread: Re: Problems with a C++ Setup project
- Next by thread: asp object
- Index(es):
Relevant Pages
|