/build/static/layout/Breadcrumb_cap_w.png

how to add files in root drive??/

Hi all,
I have a problem.How to add a file in c:\ while repackaging with wise package studio.while installing msi I need that file in that drive. please help me to find it?

0 Comments   [ + ] Show comments

Answers (7)

Posted by: slay_u 14 years ago
Orange Belt
1
ORIGINAL: Tijo

Hi all,
I have a problem.How to add a file in c:\ while repackaging with wise package studio.while installing msi I need that file in that drive. please help me to find it?




Add a row in the Directory table as below..

Set WindowsVolume as a directory in the Directory table and then add TARGETDIR as the directory_parent and . in the defaultdir column
Add another row to the directory table with TARGETDIR as your directory_parent giving appropriate names and that should create a directory structure for you on the C:\ drive 9WindowsVolume)
Posted by: India_Repackaging 14 years ago
Blue Belt
0
do you want to find the file or add the file to the C:\?
In case you want to add it via your package then make sure you have the file in a component that installs to TARGETDIR provided you are installing things to the C:\.
Posted by: cmi2000 14 years ago
Senior Purple Belt
0
Hi Slay_u, I need to do the same (create a file in C:\), but I don't understand very well your procedure, could you explain me?

Thank you!
Posted by: captain_planet 14 years ago
Black Belt
0
cmi2000, since you're (apparently) using Wise why don't you just capture it and see for yourself? [;)]
Posted by: cmi2000 14 years ago
Senior Purple Belt
0
I don't know why... but the capture isn't taking this file, and Wise Package Studio don't let me put a file in C:\
Posted by: eskonar 14 years ago
Senior Yellow Belt
0
hmmm .... do one thing set ROOTDRIVE property to C:\.................and then set the INSTALLDIR property to ROOTDRIVE and then add the file in the component.and then set the destination to INSTALLDIR for that component which u have added
Posted by: captain_planet 14 years ago
Black Belt
0
Just to add some clarity (and as per the SDK guidelines), if you wanted a folder 'MyFolder' to install to the root of C:\, the Directory table should really look like this:

Directory...............Directory_Parent.......DefaultDir
INSTALLDIR...........TARGETDIR...............MyFolder
TARGETDIR..........................................SOURCEDIR

Ensure you have a property in your Property table called ROOTDRIVE set to, say, C:\
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