Shortcut Working Directory: PersonalFolder results in <null> - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

daleq
Posts: 10
Joined: Tue Jul 21, 2009 5:30 pm

Shortcut Working Directory: PersonalFolder results in <null>

Hi,

I have a project where I changed the Working Directory for a shortcut to the PersonalFolder.

Code: Select all

  <COMPONENT cid="caphyon.advinst.msicomp.MsiShortsComponent">
    <ROW Shortcut="MyProduct" Directory_="SHORTCUTDIR" Name="MyProd" Component_="MyProduct.exe" Target="[#MyProduct.exe]" Description="MyProduct" Hotkey="0" Icon_="MyProduct.exe" IconIndex="0" ShowCmd="1" WkDir="PersonalFolder"/>
  </COMPONENT>
(slightly obfuscated - the key bit here is WkDir)

When I look at the MSI, I see that the WkDir value in the Shortcut table is set to <null>.

Is there likely something I'm doing wrong or is this a bug? If a bug, is there a work-around?

Using: AI 7.2

Thanks,
Dale
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Shortcut Working Directory: PersonalFolder results in <null>

Hello,

Unfortunately I could not reproduce this behavior. Could you send us your .aip project file (or a stripped down version that accurately reproduces this behavior to support at advancedinstaller dot com so we can further investigate this issue?

Thank you,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
daleq
Posts: 10
Joined: Tue Jul 21, 2009 5:30 pm

Re: Shortcut Working Directory: PersonalFolder results in <null>

Thanks Gabriel,

I could not replicate this with a small project either.

For the list, I emailed support with my .aip and told them how I had manually edited the .aip and Bogdan pointed out that I had not made all the necessary changes (and politely pointed out that editing the file manually is not recommended).

Thanks for the excellent support!
Dale

Return to “Common Problems”