This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Problem creating shortcuts in Start>Programs menu, variables not resolving
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 14, 2008
10:35 AM
Problem creating shortcuts in Start>Programs menu, variables not resolving
I'm having some issues creating shortcuts in the Start>Programs menu. I am using IS 2008 VP1 with an action in the install sequence to create the shortcut. I could not figure out how to append to the magic folder, $WIN_COMMON_PROGRAMS_MENU$ because I want to use that followed by CompanyName\ProductName and then put the shortcuts in that directory.
I figured that perhaps I needed to set it as a defined magic folder so I made an action to Set InstallAnywhere Variable. I am setting USER_MAGIC_FOLDER_1 to $WIN_COMMON_PROGRAMS_MENU$$\$CompanyName$\$ProductName and it is creating my shortcut in C:\CompanyName\ProductName. I look at the log and that is what the variable is resolving to.
I am fairly new to IA, coming from an ISMP background where I could set variables like this but now I can't seem to get it to work. Any ideas????
I figured that perhaps I needed to set it as a defined magic folder so I made an action to Set InstallAnywhere Variable. I am setting USER_MAGIC_FOLDER_1 to $WIN_COMMON_PROGRAMS_MENU$$\$CompanyName$\$ProductName and it is creating my shortcut in C:\CompanyName\ProductName. I look at the log and that is what the variable is resolving to.
I am fairly new to IA, coming from an ISMP background where I could set variables like this but now I can't seem to get it to work. Any ideas????
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 14, 2008
10:49 AM
Typo in the $WIN_COMMON_PROGRAMS_MENU$ part of my variable being set. I had an extra space that I could not see due to the small font in the IA gui. It is now working for me.:rolleyes:
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)