/build/static/layout/Breadcrumb_cap_w.png

MSIs failing with error 2709 when creating shortcuts

I've been having an issue with all MSIs I create failing with error 2709. After a lot of troubleshooting, I've pinpointed it to the creation of the desktop shortcut using the built-in AppDeploy utility. If I do NOT create these shortcuts, the MSI works as it should but without any shortcuts created.

I tried adding a shortcut to the program myself by placing it in C:\Users\Public\Desktop, but AppDeploy doesn't pick up that a shortcut has been placed in that directory, and thus doesn't include it when doing the file scan. I tested adding a .txt file in C:\Users\Public\Desktop and it was detected, so it appears AppDeploy just ignores all .lnk files.

How can I get this to work? I'm using Windows 7 SP1 32bit.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: dannyboygeek 13 years ago
Senior Yellow Belt
1
Building off of what you found we have discovered that it is foreign characters that reference the exe file that you are creating the shortcut to. In our case we were creating a package for notepad++ with appdeploy repackager and we narrowed it down to the notepad++.exe file causing the 2709 error (shortcut: Notepad++ -> %PROGRAMFILES%\Notepad++\notepad++.exe). Once we changed notepad++.exe to notepadpp.exe (shortcut: Notepad++ -> %PROGRAMFILES%\Notepad++\notepadpp.exe)and rerouted all the dependencies ie shortcuts, registry files within the xml file and repacked it the error no longer came up and installed the program fine.

note: the folder that contains the executable can contain special characters (at least + signs)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ