Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

setting destination folder with automation


5 replies to this topic

clarity

clarity
  • Members
  • 3 posts

Posted 05 December 2001 - 15:53

Hi everyone,

can anyone help me with setting default destination folder with Automation interface or cmd line parameter to IsCmdBld?

Thanks,
    Robert


Murali

Murali
  • Members
  • 18 posts

Posted 06 December 2001 - 06:55

The command line build is ....

ISCmdBld.exe -p "Sample Project.ism" -d SampleProject -r Release1 -a Build1 -b "D:\Install Location"

p : project name (could be a relative path)
d : product name as given in the .ism file
r : release name
a : product configuration
b : build location (this has to be full path)

Instead you can put all this information into an .ini file and give that ini file for build.
Infact you can specify even more information.


I use it this way
ISCmdBld.exe -i SampleProj.ini


--- contents of SampleProj.ini


[Project]
Name=".\Sample Project.ism"
Product=SampleProject
BuildLabel=Build1

[Release]
Configuration=COMP  
; to specify compressed or uncompressed (UNCOMP)
Name=Release1
SetupEXE=y
;whether exe is to be created or msi alone (y/n)

[Mode]  
Silent=no
;silent build  (yes/no)

[BuildLocation]  
Path="D:\Install Location"

---- ini ends ----

Note: The path of ISCmdBld.exe must exist on the path environment variable. If not add it.

Hope this helps


clarity

clarity
  • Members
  • 3 posts

Posted 06 December 2001 - 09:22

Thank you, but what I am looking for is the default instalation folder for when the installation runs - like c:\program files\zaslon\bankassistant. In IDE it is under Product Properties/Destination folder but I cannot find this anywhere where I could set it via automation interface...

Regards,
          Robert


Leigh Ravenhall

Leigh Ravenhall
  • Members
  • 269 posts

Posted 07 December 2001 - 04:00

How about setting the INSTALLDIR property.  Through the automation interface, this is accessable through the ISWiProperties collection.

clarity

clarity
  • Members
  • 3 posts

Posted 07 December 2001 - 13:32

I've tried that, but it seems to have all the other properties there but not INSTALLDIR! :-(

Regards,
            Robert


Leigh Ravenhall

Leigh Ravenhall
  • Members
  • 269 posts

Posted 10 December 2001 - 05:49

In InstallShield Developer, INSTALLDIR is a property of the ISWiProject object.  Have you tried that?