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.
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

so that the conversation will remain readable.
Answer this question
or Comment on this question for clarity
Answers
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.[;)]
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.[;)]
Please log in to comment
Comments