/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
Anha,

I think you can safely remove that "\". It will have the same effect...
Answered 10/17/2006 by: dj_xest
Fifth Degree Black Belt

Please log in to comment
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.
Answered 10/17/2006 by: anha
Yellow Belt

Please log in to comment
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.[;)]
Answered 10/17/2006 by: dj_xest
Fifth Degree Black Belt

Please log in to comment