/build/static/layout/Breadcrumb_cap_w.png

WISE Installer MAINDIR variable not working

Hello,

I'm trying to push out CoreFTP via TEM using this command:

coreftplite2.1.exe /S /M=c:\temp\install.txt

Where install.txt is my variables file that simply contains my switch in Install directory as shown here:

MAINDIR=E:\CoreFTP\

The process is launching fine but just wasn't completing.  If I take the /S switch off so I can see what's going on, the problem is immediately apparent.  The WISE installer is reading my install.txt and then catenating it to the existing variable, NOT replacing it like it should.

C:\Program Files (x86)\E:\CoreFTP

Anyone have any ideas?


0 Comments   [ + ] Show comments

Answers (2)

Posted by: Badger 9 years ago
Red Belt
0

CoreFTP is an MSI. Extract it and run the MSI.

They use a CustomAction to set the Install location, the variable MAINDIR is NOT in the CoreFTP MSI.

 

you would have to use TARGETDIR=E:\CoreFTP\

 

Posted by: EdT 9 years ago
Red Belt
0

Set the existing variable to "" in the main code. That's the best I can suggest in the absence of viewing your code.

If posting again, do include information on which precise version of Wisescript you are using.

 
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