/build/static/layout/Breadcrumb_cap_w.png

Another Environment Variables question

Hi,
I have a small problem with Environment Variables when making MSI-packages. The problem is that they all end with a "\", is there any way of removing the "\" in a simple way because some the programs doesnt like the paths ending with "\".

Edit: forgot to mention that I use Wise Package Studio.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: dj_xest 18 years ago
5th Degree Black Belt
0
Anha,

I think you can safely remove that "\". It will have the same effect...
Posted by: anha 18 years ago
Yellow Belt
0
Ah,

I might have been a bit unclear. I get "\" at the end when I use [INSTALLDIR] or anyother variable that represents a path. Its nothing that I add when I set them. From what I see it happens automaticly.
Posted by: dj_xest 18 years ago
5th Degree Black Belt
0
Hi anha,

Wise and Installshield generates it automatically as you have said when defining it for [INSTALLDIR]. The only way to get what you want is to use [ProgramFilesFolder] string then append your working directory here. For example:

[ProgramFilesFolder]Your Folder\anha >> This could be your INSTALLDIR... what do you think? NOw, the problem here is if you ever have a standards in your team to always use [INSTALLDIR], you should probably include it in your documentation explaining why you did that.

Check it out.[;)]
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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